Polygon Type

Polygon type. The first three types are only useful if the polygon is to be filled. The VT designer may decide to implement only a complex fill algorithm, since this works with all types. The polygon type can only be changed from open to not open or from not open to open.

0 = Convex. On any given horizontal line, only two points of the polygon are hit.
1 = Non-convex. On any given horizontal line, more than two points on the polygon edges may be hit, but the edges of the polygon do not intersect.
2 = Complex. Similar to non-convex, but the edges intersect. Uses the complex fill algorithm.
3 = Open. This type cannot be filled.

Used by