- Preparing search index...
- The search index is not available
Documentation
Function createPolygonPath
- createPolygonPath(points): Segment[]
-
Parameters
-
points: readonly (readonly [number, number, undefined | number, undefined | number, undefined | boolean])[]
Compute polygon path from a list of points
The points are combined pair-wise. The first and last point are connected to close the polygon path.
A segment's from point defines the segment type. If arc-specific values are set then an arc segment is created.