object

Shape

Shape descriptor.

Properties
PropertyTypeRequired
classconstRequired
subshapesArray<SubShape>Required
windingRuleintegerRequired
radiusnumberOptional

class

Required

Description

no description

Type

const

Value

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

json
"shape"

subshapes

Required

Description

An array of subshape in the shape.

Type

Array<SubShape>

windingRule

Required

Description

The value describes the shape's 'winding rule' (policy determining how overlapping contours fill an area).

Type

integer

Value

enum: the value of this property must be equal to one of the following values:

ValueExplanation
0non-zero
1even-odd

radius

Optional

Description

Indicates the radius of the Boolean object. If this item doesn't exist or has the value 0, recurse upward to get its value. If a point of an inner object has no radius specified or its value is 0, use this value for the point's radius. This value also has an impact on the corners of the overlapping region.

Type

number

Daruma Feedback