Interface representing coordinates in a 2D space.

interface Coordinates {
    x: number;
    x0?: number;
    y: number;
    y0?: number;
}

Properties

Properties

x: number

The x-coordinate.

x0?: number

The optional initial x-coordinate.

y: number

The y-coordinate.

y0?: number

The optional initial y-coordinate.