Region
Typeobject
Backlinks1A region in a vector network.
Property | Type | Required |
---|---|---|
class | string | Required |
loops | Array<array> | Required |
fills | Array<Fill> | Optional |
windingRule | integer | Required |
loops​
RequiredDescription
A list of loops of the region. Note: A loop is a part of the region, which is not necessarily closed.
Type
Array<array>
fills​
OptionalDescription
A list of the fill styles of the region. If it's missing, the style.fills
of the top-level object is uesd.
Type
Array<Fill>
windingRule​
RequiredDescription
The rule determining whether an area is inside or outside a region.
Type
integer
Value
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
0 | non-zero |
1 | even-odd |