API Reference > imodeljs-frontend > Rendering > GraphicBuilder > addLineString2d addLineString2d MethodAbstract Appends a 2d line string to the builder. addLineString2d(points: Point2d[], zDepth: number): void Parameter Type Description points Point2d[] Array of vertices in the line string. zDepth number Z value in local coordinates to use for each point. Returns - void Defined in core/frontend/src/render/GraphicBuilder.ts Line 327 Last Updated: 11 June, 2024