Polygon:addPoint
From GiderosMobile
Available since: Gideros 2015.03.22
Class: Clipper
Description
Appends a vertex to the polygon.
Polygon:addPoint(x, y)
Points are stored in the order they are added; the polygon is implicitly closed (last point to first point) when used by Clipper or by getArea().
Parameters
x: (number) horizontal coordinate, stored as an integer
y: (number) vertical coordinate, stored as an integer