createGraphic Method

Create a builder for producing a RenderGraphic appropriate for rendering within this context's Viewport.

createGraphic(options: Omit<GraphicBuilderOptions, "viewport" = undefined>): GraphicBuilder

Parameter Type Description
options Omit<GraphicBuilderOptions, "viewport" = undefined> Options describing how to create the builder.

Returns - GraphicBuilder

A builder that produces a RenderGraphic.

Defined in

Last Updated: 06 May, 2021