Represents a point with x and y coordinates.

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

Properties

x y

Properties

x: number

The x coordinate.

y: number

The y coordinate.