Horizontal constraint relative to containing frame.
Vertical constraint relative to containing frame.
Guides to align and place objects within a parent container.
{ width : Basics.Float
, isVisible : Basics.Bool
, color : Color
, gutter : Basics.Float
, margin : Basics.Float
, count : Basics.Int
, align : GridAlign
}
A vertical grid made of columns.
{ height : Basics.Float
, isVisible : Basics.Bool
, color : Color
, gutter : Basics.Float
, margin : Basics.Float
, count : Basics.Int
, align : GridAlign
}
A horizontal grid made of rows.
{ width : Basics.Float
, isVisible : Basics.Bool
, color : Color
}
A square grid.
Positioning of grid within the parent container.
MinAlign
: grid starts at the top (or left) of the container, filling the minimun space possible. The margin is applied before the grid.CenterAlign
: grid is center aligned. Margin value is ignored.MaxAlign
: grid stretches from the top (or left) to the bottom (or right) of the container, filling the maximun space possible. The margin is applied before and after the grid.