createGraphic Method

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

createGraphic(options: Omit<ViewportGraphicBuilderOptions, "viewport">): GraphicBuilder

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

Returns - GraphicBuilder

A builder that produces a RenderGraphic.

Defined in

Last Updated: 30 November, 2023