API Reference > imodeljs-frontend > Rendering > GraphicLineString2d GraphicLineString2d Interface A GraphicPrimitive representing a 2d line string that can be supplied to GraphicBuilder.addPrimitive. see GraphicBuilder.addLineString2d. Extends GraphicPrimitive2d Properties Name Type Description points Point2d[] type "linestring2d" 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 32 Last Updated: 11 June, 2024