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

    Interface LineProps<CustomDataType>Beta

    Line Constructor Properties

    interface LineProps<CustomDataType = void> {
        data?: CustomDataType;
        x1: number;
        x2: number;
        y1: number;
        y2: number;
    }

    Type Parameters

    • CustomDataType = void

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

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    Custom data

    x1: number

    X start of the line.

    x2: number

    X end of the line.

    y1: number

    Y start of the line.

    y2: number

    Y end of the line.