libavoid-js
    Preparing search index...

    Interface Rect

    An axis-aligned rectangle: top-left corner plus size, like DOMRect.

    libavoid: replaces Box. x/y correspond to Box.min, right/bottom to Box.max. x + width may differ from Box.max.x in the last bit.

    interface Rect {
        x: number;
        y: number;
        width: number;
        height: number;
        left: number;
        top: number;
        right: number;
        bottom: number;
    }
    Index
    x: number
    y: number
    width: number
    height: number
    left: number

    As in DOMRect, the edges also hold for a negative width/height.

    top: number
    right: number
    bottom: number