API Reference > imodeljs-frontend > Rendering > DecorateContext > createGraphic createGraphic Method Create a builder for producing a RenderGraphic appropriate for rendering within this context's Viewport. createGraphic(options: Omit<GraphicBuilderOptions, "viewport">): GraphicBuilder Parameter Type Description options Omit<GraphicBuilderOptions, "viewport"> Options describing how to create the builder. Returns - GraphicBuilder A builder that produces a RenderGraphic. Defined in core/frontend/src/ViewContext.ts Line 167 Last Updated: 12 June, 2024