Skip to main content

Type Alias: FillSpace

FillSpace = "local" | "global" | "parent" | "view"

Defined in: attributes/shape/fill/union.ts:23

Reference frame a fill (and the stroke/shadow that wrap one) is applied against, and whether stacked shapes paint individually or as one unit:

  • local — each shape is painted on its own; gradients/images resolve against that single shape's bounds.
  • global — all shapes drawn together (e.g. ellipse(...).rect(...)) are treated as one unit; gradients/images span their union bounds. This is the default.
  • parent — resolve against the parent node's layout rect.
  • view — resolve against the render viewport.