Point¶
Structure representing a point.
The structure encapsulates a coordinate in a two-dimensional coordinate system.
x¶
X value.
x: number
y¶
Y value.
y: number
-new Point¶
Constructs a new point.
new Point(x: number, y: number)
Parameters¶
x
number
X value.
y
number
Y value.