SubShape
Typeobject
Backlinks1One subshape in a shape.
| Property | Type | Required |
|---|---|---|
| class | string | Required |
| subGeometry | oneOf< | Required |
| booleanOperation | integer | Required |
subGeometry​
RequiredDescription
Describes the detailed shape of the subshape through a contour with a list of points, a specified geometry, or another object.
When the frame, symbol-instance, and symbol-master are in subGeometry, only the childObjects will be used, and the bounding box will be ignored.
Any mask nested within this object will be invalidated.
booleanOperation​
RequiredDescription
Boolean operations that combine the current subshape with the previous subshape in the array.
Type
integer
Value
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
0 | union |
1 | subtraction |
2 | intersecion |
3 | exclusion |
4 | useWindingRule: The final display area is determined by the windingRule of the top-level path object. |