Type alias Coordinates

Coordinates: {
    x: number;
    y: number;
}

A 2D coordinate pair.

Type declaration

  • x: number

    The X coordinate.

  • y: number

    The Y coordinate.