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: 20 April, 2024