Skip to main content
Version: Alpha 1

Fill

Fills a closed shape with color and an optional bleed effect.

Usage

The Fill modifier is used with the SET keyword. It only works on closed shapes like Rectangle.

Parameters

NameTypeDescription
colorstringThe fill color (e.g., 'red', '#FF0000').
opacityNumberThe opacity of the fill (0-255).
bleedNumberThe strength of the bleed effect (0-0.5).
bleedDirstringThe direction of the bleed ('in' or 'out').

Example

// Create a cube with a red fill and a slight bleed effect
Rectangle(x: -25, y: -25, width: 50, height: 50) SET Fill('color: "red", bleed: 0.2')