Interface Point

Represents a two-dimensional point.

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

Properties

x y

Properties

x: number

Defines the x coordinate of the point.

y: number

Defines the y coordinate of the point.