Geometry schema
All geometry defined in the custom shape format follows this general schema:
{
"type": "rect",
"repeat": {
"min": 5,
"max": 20
},
"localFill": false
}
Property | Type | Description |
---|---|---|
type | string | The type of geometry. Options: rect, ellipse, polygon, path, BooleanOperation |
condition | formula (optional) | A formula which controls whether or not the geometry is included in the output. |
repeat | ForRepeat or MapRepeat (optional) | |
localFill | boolean, formula (optional) | Defines whether or not this geometry starts a gradient. |
defs | Definition (optional) | Allows local definition of formula (see Definitions below). |
Each gemoetry type is explained in detail in the following pages.
Updated 7 months ago