addDecorationFromBuilder Method

Calls GraphicBuilder.finish on the supplied builder to obtain a RenderGraphic, then adds the graphic to the appropriate list of Decorations.

addDecorationFromBuilder(builder: GraphicBuilder): void

@note The builder should not be used after calling this method.

Parameter Type Description
builder GraphicBuilder The builder from which to extract the graphic.

Returns - void

Defined in

Last Updated: 14 November, 2024