interface Geometry · Shapes

Polyline

interface Polyline extends PolygonalShape

An open line through its points: the last point is not joined to the first.

Polylines computes with polylines (length with len, points and pins along it, slices, …). A Segment is a polyline with two points and is accepted wherever a Polyline is.

Properties

geometricTypereadonly

geometricType: "LineSegment" | "Polyline"

This property is only used for static typing. Evaluating it at run time returns undefined.

Inherited

From ReadOnlyCollection count

From Sequence at, elements, set, setAt

From Iterable [iterator]