Class: Point

Annotations. Point

A utility class that represents a point with an x and y coordinate.

new Point(x, y)

Creates a new Point with an x and y coordinate.
Parameters:
Name Type Description
x number the x-coordinate
y number the y-coordinate
Properties:
Name Type Description
x number the x-coordinate
y number the y-coordinate