gradum-kit - v0.1.0
    Preparing search index...

    Type Alias FlexRect

    A rectangle where every field is optional, for describing only the edges you care about. Sides and dimensions may be mixed, and any that are omitted are left to the caller to infer.

    type FlexRect = {
        top?: number;
        bottom?: number;
        left?: number;
        right?: number;
        x?: number;
        y?: number;
        width?: number;
        height?: number;
    }
    Index
    top?: number

    Distance from the top edge.

    bottom?: number

    Distance from the bottom edge.

    left?: number

    Distance from the left edge.

    right?: number

    Distance from the right edge.

    x?: number

    Horizontal origin.

    y?: number

    Vertical origin.

    width?: number

    Width of the rectangle.

    height?: number

    Height of the rectangle.