Constructor
new Point(x, y)
Create a point.
Parameters:
Name | Type | Description |
---|---|---|
x |
number | The x value. |
y |
number | The y value. |
Methods
getX() → {number}
Get the x value.
Returns:
The x value.
- Type
- number
getY() → {number}
Get the y value.
Returns:
The y value.
- Type
- number