Skip to main content

Region

Typeobject
Backlinks1

A region in a vector network.

PropertyTypeRequired
classstringRequired
loopsArray<array>Required
fillsArray<Fill>Optional
windingRuleintegerRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"region"

loops​

Required

Description

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​

Optional

Description

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​

Required

Description

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:

ValueExplanation
0
non-zero
1
even-odd