Clipper (gb.clipper)

This static class implements the clipping methods.

Esta clase es estática.

Constantes
FillEvenOdd   Constant that represents the "Even-odd" polygon fill rule.
FillNegative   Constant that represents the "Negative" polygon fill rule.
FillNonZero   Constant that represents the "Non-Zero" or "Winding" polygon fill rule.
FillPositive   Constant that represents the "Positive" polygon fill rule.
FillWinding   Constant that represents the "Non-Zero" or "Winding" polygon fill rule.
JoinMiter   This constant represents a "miter" join type.
JoinRound   This constant represents a "round" join type.
JoinSquare   This constant represents a "square" join type.

Métodos estáticos
Clean   Removes vertices:
Difference   Compute the difference between Polygons and Clip and return it.
ExclusiveOr   Compute the exclusive or between Polygons and Clip and return it.
Intersection   Compute the intersection between Polygons and Clip and return it.
Offset   This function offsets the Polygons parameter by the Delta amount. Positive delta values expand outer polygons and contract inner 'hole' polygons. Negative deltas do the reverse.
Simplify   Removes self-intersections from the supplied Polygons (by performing a boolean union operation using the nominated Fill type).
Union   Compute the union between Polygons and Clip and return it.

Polygon fill types

Each polygon or array of polygons must have a fill type specified when calling one of the clipping methods: Difference, Union, Intersection, ExclusiveOr.

That fill type is a value among one of the following constant: See this link for more details: Polygon fill types on the Clipper Library web site.