Point
Structure representing a point.
The structure encapsulates a coordinate in a two-dimensional coordinate system.
Properties
Section titled “Properties”X value.
x: numberY value.
y: numberMethods
Section titled “Methods”
new Point(x, y)
Section titled “new Point(x, y)”Constructs a new point.
new Point(x: number, y: number)Parameters
Section titled “Parameters”x number
X value.
y number
Y value.