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

    Type Alias Coordinate<Type>

    A pair of values on the x and y axes. Generic so the same shape can carry something other than numbers, such as a coordinate per axis expressed as a range.

    type Coordinate<Type = number> = {
        x: Type;
        y: Type;
    }

    Type Parameters

    • Type = number

      The type of each component. Defaults to number.

    Index
    x y
    x: Type

    The horizontal component.

    y: Type

    The vertical component.