Skip to main content

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.

PropertyTypeDescriptionFlags
beginIntegerIndex of the first line segment in lines-2d.
countIntegerThe number of line segments.
closedStringClosed or open.
shapeStringStraight or curved.

Legend

FlagDescription
⬆️Inherited property
Required property

What is the reason for your feedback?