Class: Point

Point

Class representing a point.

Constructor

new Point(x, y)

Create a point.
Parameters:
Name Type Description
x number The x value.
y number The y value.
Source:

Methods

getX() → {number}

Get the x value.
Source:
Returns:
The x value.
Type
number

getY() → {number}

Get the y value.
Source:
Returns:
The y value.
Type
number