line

Copies in a row, marching away from the layer inside in one direction.

line(slots: LineSlots): PlacementSpec

Import effects from shaders/std and use effects.instances.line.

Parameters

NameTypeNotes
slotsLineSlots

Example

placement: line({count: p('count'), direction: p('direction'), spacing: p('spacing')})

See also

  • grid — Copies in rows and columns, filling this layer's bounding box.
  • radial — Copies around a circle centred on the layer inside.
  • byMode — Lets one select prop switch between a grid, a radial and a linear layout.

Used by

Repeater