These docs are for v1.0. Click to read the latest docs for v1.2.
PropertyTypeDescription
type'rect'
conditionformula (optional)
repeatrepeat (optional)
stepboolean, formula (optional)
defsDefinition[] (optional)
xnumber, formula (optional)The x-coordinate of this rectangle, relative to its bounds (default: 0)
ynumber, formula (optional)The y-coordinate of this rectangle, relative to its bounds (default: 0)
wnumber, formula (optional)The width of this rectangle, relative to its bounds (default: 1)
hnumber, formula (optional)The height of this rectangle, relative to its bounds (default: 1)
{
  type: "rect"
  // NOTE: Unspecified x and y default to 0.
  // NOTE: Unspecified w and h default to 1.
}

Rect

{
  type: "rect",
  x: 0.5,
  y: 0.5,
  w: 0.5,
  h: 0.5
}

Rect