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

Properties

x y

Properties

x: number

X coordinate of the point.

y: number

Y coordinate of the point.