Documentation
    Preparing search index...
    • 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.

      Parameters

      • points: readonly (
            readonly [
                number,
                number,
                undefined
                | number,
                undefined | number,
                undefined | boolean,
            ]
        )[]

      Returns Segment[]