Skip to main content

floating

floating() 

Places an element without affecting bounding boxes.

Floating elements are drawn to the canvas but are ignored when calculating bouding boxes. All other behaviours remain the same.

group(name: "g", {
content((1,0), [Normal])
content((0,1), [Normal])
floating(content((.5,1.5), [Floating]))
})
set-style(stroke: red)
rect("g.north-west", "g.south-east")

One or more elements to place