API Reference > imodeljs-frontend > Rendering > DecorateContext > addDecorationFromBuilder addDecorationFromBuilder Method Calls GraphicBuilder.finish on the supplied builder to obtain a RenderGraphic, then adds the graphic to the appropriate list of Decorations. addDecorationFromBuilder(builder: GraphicBuilder): void note The builder should not be used after calling this method. Parameter Type Description builder GraphicBuilder The builder from which to extract the graphic. Returns - void Defined in core/frontend/src/ViewContext.ts Line 132 Last Updated: 13 June, 2024