vLine()
Draws a vertical line of the given distance.
Returns: Geometry
Signatures
vLine(distance: number, centered?: boolean): Geometry
Draws a vertical line of the given distance.
| Parameter | Type | Description |
|---|---|---|
distance | number | The line length |
centered | boolean | Whether to center the line on the current position (optional) |
vLine(start: Point2DLike, distance: number, centered?: boolean): Geometry
Draws a vertical line from a start point.
| Parameter | Type | Description |
|---|---|---|
start | Point2DLike | The start point |
distance | number | The line length |
centered | boolean | Whether to center the line on the start point (optional) |
note
All signatures also accept an optional targetPlane parameter as the last argument to draw on a specific plane.