PolyDecompParameters2D¶
Inherits: Resource < Reference < Object
A set of parameters to configure polygon partitioning methods in PolyDecomp2D.
Enumerations¶
enum FillRule:
- FILL_RULE_EVEN_ODD = 0 — Odd numbered sub-regions are filled, while even numbered sub-regions are not.
- FILL_RULE_NON_ZERO = 1 — All non-zero sub-regions are filled.
- FILL_RULE_POSITIVE = 2 — All sub-regions with winding counts greater than 0 are filled.
- FILL_RULE_NEGATIVE = 3 — All sub-regions with winding counts less than 0 are filled.
Property Descriptions¶
- FillRule fill_rule
Default | 1 |
Setter | set_fill_rule(value) |
Getter | get_fill_rule() |
Filling indicates those regions that are inside a closed path (“filled” with a brush color or pattern in a graphical display) and those regions that are outside.
Note: this is only currently relevant in the clipper10 backend for PolyDecomp2D.DECOMP_TRIANGLES_MONO algorithm.