Skip to main content

shape_group

Function shape_group 

Source
pub fn shape_group(shapes: impl IntoIterator<Item = ShapePiece>) -> AnyPiece
Expand description

Flatten many shape descriptions into ONE canvas leaf — one native view no matter how many shapes (docs/shapes.md §3.6). Shapes draw in order; reactive properties re-record the group. Child gestures are not wired inside a group — put .on_tap on the group via Decorate.

Day API ↩ Guides· daybrite.dev