polyline-2d
schema/components/polyline-2d/1.0.1/polyline-2d.schema.json
The polyline-2d component describes a 2D polyline, defined as a contiguous sequence of vertices.
begin— The starting index into the parent vertex array.count— The number of vertices in the polyline.closed— Whether the polyline forms a closed loop.shape— The shape type of the polyline.
Used by: geometry-composite.
See also: polyline-3d (3D counterpart).
Properties
polyline-2d (v1.0.1)
This component describes a 2D polyline.
| Property | Type | Description | Flags |
|---|---|---|---|
| begin | Integer | Index of the first line segment in lines-2d. | ✅ |
| count | Integer | The number of line segments. | ✅ |
| closed | String | Closed or open. | ✅ |
| shape | String | Straight or curved. | ✅ |
Legend
| Flag | Description |
|---|---|
| ⬆️ | Inherited property |
| ✅ | Required property |