These docs are for v1.0. Click to read the latest docs for v1.2.

Geometry schema

All geometry defined in the custom shape format follows this general schema:

{
  "type": "rect",
   "repeat": {
       "min": 5,
       "max": 20
   },
   "localFill": false
}
PropertyTypeDescription
typestringThe type of geometry.
Options: rect, ellipse, polygon, path, BooleanOperation
conditionformula (optional)A formula which controls whether or not the geometry is included in the output.
repeatForRepeat or MapRepeat (optional)
localFillboolean, formula (optional)Defines whether or not this geometry starts a gradient.
defsDefinition (optional)Allows local definition of formula (see Definitions below).

Each gemoetry type is explained in detail in the following pages.