Enumeration
Layout.ChildRule
public enum ChildRule
Relationships
Member Of
LayoutLayoutprovides the ability to layout a series ofRects using specified rules. The order of eachRectis always preserved.
Enumeration Cases
alignWidths
case alignWidths(width:Int)
Sets the width of all Rects as specified
alignHeights
case alignHeights(height:Int)
Sets the height of all Rects as specified
alignTops
case alignTops(top:Int)
Sets the top of all Rects as specified
alignCenterY
case alignCenterY(centerY:Int)
Sets the center-y of all Rects as specified
alignBottoms
case alignBottoms(bottom:Int)
Sets the bottom of all Rects as specified
alignLefts
case alignLefts(left:Int)
Sets the left of all Rects as specified
alignCenterX
case alignCenterX(centerX:Int)
Sets the center-x of all Rects as specified
alignRights
case alignRights(right:Int)
Sets the right of all Rects as specified
distributeHorizontally
case distributeHorizontally(left:Int, spacing:Int)
Distributes the Rects horizontally beginning at the
specified left with spacing between each Rect
distributeVertically
case distributeVertically(top:Int, spacing:Int)
Distrbutes the Rects vertically beginning at the
specified top with spacing between each Rect