Interface IPoint

Represents a point in a two-dimensional space.

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

Implemented by

Properties

x y

Properties

x: number

The X coordinate of the point.

y: number

The Y coordinate of the point.