createGraphic MethodAbstract

Obtain a GraphicBuilder from which to produce a RenderGraphic.

createGraphic(options: CustomGraphicBuilderOptions | ViewportGraphicBuilderOptions): GraphicBuilder

Parameter Type Description
options CustomGraphicBuilderOptions | ViewportGraphicBuilderOptions Options describing how to create the builder.

Returns - GraphicBuilder

A builder that produces a RenderGraphic.

Defined in

Last Updated: 30 November, 2023