createGraphic Method

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

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

@returns A builder that produces a RenderGraphic.

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: 17 December, 2024