addPrimitive Method

Append any primitive to the builder.

addPrimitive(primitive: GraphicPrimitive): void

Parameter Type Description
primitive GraphicPrimitive The graphic primitive to append.

Returns - void

Defined in

Last Updated: 30 November, 2023