Enumeration represents the winding of a Polygon.

To appreciate what the winding of a polygon means, think of a polygon who's vertices are the numbers on a clock face.

If the vertices are ordered 12 -> 1 -> 2 ... -> 12 then this polygon is clockwise wound. The reverse order would mean the polygon is wound anticlockwise.

Static variables

staticread onlyUNDEFINED:Winding

Value represents that the polygon has no discernible, or ambiguous winding

This may be because the polygon is degenerate, or because it is self intersecting. In either case it is not well defined to say that the winding is either clockwise or anticlockwise.

staticread onlyCLOCKWISE:Winding

Value represents that the polygon is wound clockwise.

staticread onlyANTICLOCKWISE:Winding

Value represents that the polygon is wound anticlockwise.

Constructor

new()

@private

Methods

@:keeptoString():String

@private