Polygon::addPoint()
Adds a point to the polygon.
Syntax
Java
.addPoint(x, y)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | the x-coordinate |
| y | double | the y-coordinate |
Return
void

Adds a point to the polygon.
.addPoint(x, y)
| Name | Data Type | Description |
|---|---|---|
| x | double | the x-coordinate |
| y | double | the y-coordinate |
void