Point

The Point class represents a point in the two-dimensional space.

Constructor

Point(x, y)
Parameters: x (type Number), y (type Number)

Properties

propertyexplanationtype
xthe x coordinate of the pointNumber
ythe y coordinate of the pointNumber