Expand description
Splits a cell rectangle along one axis into sized children.
Lengths take their exact cells and percentages round down. Fill children split what is left, the first fills taking any leftover cell. A length longer than the area keeps its size and leaves the fills empty.
Enums§
- Constraint
- One child’s size claim.
Functions§
- split_
horizontal - Split
areainto columns, left to right. - split_
vertical - Split
areainto rows, top to bottom.