@jsfkit/types
    Preparing search index...

    Type Alias RelativeRect

    Relative rectangle with percentage-based insets.

    Defines a rectangle using relative offsets from each edge, expressed as percentages of the parent rectangle's dimensions.

    type RelativeRect = {
        b: Percentage;
        l: Percentage;
        r: Percentage;
        t: Percentage;
    }
    Index

    Properties

    b l r t

    Properties

    Bottom edge offset as percentage from bottom.

    Left edge offset as percentage from left.

    Right edge offset as percentage from right.

    Top edge offset as percentage from top.