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: 12 June, 2024