Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Polygon (gb.clipper)

This class represents a polygon.

This class is creatable.

This class acts like a read / write array.

Properties
Area   Return the area of the polygon.
Count   Return the number of points of the polygon.
Max   Return the number of points of the polygon minus one, i.e. the greater point index.
Orientation   Return the polygon orientation.

Methods
Add   Add a new point to the polygon.
AddPoint   Add a new point to the polygon.
Clean   Removes vertices:
Remove   Remove one or more points from the polygon.
Reverse   Reverse the polygon, and so its orientation.
Simplify   Removes self-intersections from the polygon (by performing a boolean union operation using the nominated Fill type).