API Reference > imodeljs-frontend > Rendering > GraphicShape2d GraphicShape2d Interface A GraphicPrimitive representing a closed 2d region that can be supplied to GraphicBuilder.addPrimitive. see GraphicBuilder.addShape2d. Extends GraphicPrimitive2d Properties Name Type Description points Point2d[] type "shape2d" Inherited properties Name Type Inherited from Description zDepth number GraphicPrimitive2d Z value in local coordinates to use for each point. Defined in core/frontend/src/render/GraphicPrimitive.ts Line 68 Last Updated: 11 June, 2024