mwg API
    Preparing search index...

    Interface AnchorSpec

    interface AnchorSpec {
        alignX?: number;
        alignY?: number;
        anchor?: Anchor;
        height?: number;
        margin?: number;
        offsetX?: number;
        offsetY?: number;
        width?: number;
    }
    Index
    alignX?: number

    0..1 position across the bounds, overriding the named anchor's own alignment

    alignY?: number
    anchor?: Anchor

    which corner or edge to sit against; center when omitted

    height?: number
    margin?: number

    shrinks the bounds on every side before anchoring

    offsetX?: number

    extra offset after anchoring, positive right and down

    offsetY?: number
    width?: number

    the placed size; the content's own size when omitted