API Reference > imodeljs-frontend > Rendering > GraphicPrimitive2d GraphicPrimitive2d Interface Base interface for a 2d GraphicPrimitive that can be supplied to GraphicBuilder.addPrimitive. Properties Name Type Description zDepth number Z value in local coordinates to use for each point. Defined in core/frontend/src/render/GraphicPrimitive.ts Line 14 Last Updated: 11 June, 2024