@timohausmann/quadtree-ts
    Preparing search index...

    Interface RectangleProps<CustomDataType>Beta

    Rectangle Constructor Properties

    interface RectangleProps<CustomDataType = void> {
        data?: CustomDataType;
        height: number;
        width: number;
        x: number;
        y: number;
    }

    Type Parameters

    • CustomDataType = void

      Type of the custom data property (optional, inferred automatically).

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    Custom data

    height: number

    Height of the rectangle.

    width: number

    Width of the rectangle.

    x: number

    X start of the rectangle (top left).

    y: number

    Y start of the rectangle (top left).