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 |