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

    Interface CornerAnchor

    One entry of the canonical 4-corner resize layout. The single source of truth for "which corner maps to which anchor / handle-kind".

    interface CornerAnchor {
        anchor: ResizeAnchor;
        kind: string;
        tag: string;
        xEdge: CornerEdge;
        yEdge: CornerEdge;
    }
    Index

    Properties

    anchor: ResizeAnchor

    Anchor that pins the diagonally-opposite (fixed) corner. Always the axis-wise opposite of {xEdge, yEdge}.

    kind: string

    Affordance/handle discriminator string for this corner.

    tag: string

    Short positional tag ('<xEdge>-<yEdge>'), e.g. 'min-max'.

    xEdge: CornerEdge

    Which x-edge the corner sits on ('min' = left, 'max' = right).

    yEdge: CornerEdge

    Which y-edge the corner sits on ('min' = top, 'max' = bottom).