Point
The Point class represents a point in the two-dimensional space.
Constructor
Point(x, y)
Parameters: x (type Number), y (type Number)
Properties
property | explanation | type |
---|---|---|
x | the x coordinate of the point | Number |
y | the y coordinate of the point | Number |