weasel API - v0.8.0
    Preparing search index...

    Interface PathAnchor

    A single anchor on a PolygonPath, with its incoming/outgoing bezier control points (when present). coordIndex points at the anchor's own on-curve x in the coords array. inCoordIndex / outCoordIndex point at the corresponding control x.

    interface PathAnchor {
        anchorIndex: number;
        controlIn?: { coordIndex: number; x: number; y: number };
        controlOut?: { coordIndex: number; x: number; y: number };
        coordIndex: number;
        x: number;
        y: number;
    }
    Index

    Properties

    anchorIndex: number

    Sequential anchor index in walk order (0-based).

    controlIn?: { coordIndex: number; x: number; y: number }

    Incoming control (from the previous segment, when it was C/Q).

    controlOut?: { coordIndex: number; x: number; y: number }

    Outgoing control (from the next segment, when it is C/Q).

    coordIndex: number

    Index of the anchor's on-curve x in coords.

    x: number

    On-curve point.

    y: number