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. |
Defined in
Last Updated: 05 June, 2020