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

    Interface AnchorHit

    Result of a hit-test against a path's anchors / control handles.

    interface AnchorHit {
        anchorIndex: number;
        coordIndex: number;
        kind: "anchor" | "controlIn" | "controlOut";
    }
    Index

    Properties

    anchorIndex: number
    coordIndex: number

    Index in coords of the hit point's x.

    kind: "anchor" | "controlIn" | "controlOut"