Igis Documentation Beta

Enumeration Layout.​Child​Rule

public enum ChildRule 

Member Of

Layout

Layout provides the ability to layout a series of Rects using specified rules. The order of each Rect is always preserved.

Enumeration Cases

align​Widths

case alignWidths(width:Int)

Sets the width of all Rects as specified

align​Heights

case alignHeights(height:Int)

Sets the height of all Rects as specified

align​Tops

case alignTops(top:Int)

Sets the top of all Rects as specified

align​Center​Y

case alignCenterY(centerY:Int)

Sets the center-y of all Rects as specified

align​Bottoms

case alignBottoms(bottom:Int)

Sets the bottom of all Rects as specified

align​Lefts

case alignLefts(left:Int)

Sets the left of all Rects as specified

align​Center​X

case alignCenterX(centerX:Int)

Sets the center-x of all Rects as specified

align​Rights

case alignRights(right:Int)

Sets the right of all Rects as specified

distribute​Horizontally

case distributeHorizontally(left:Int, spacing:Int)

Distributes the Rects horizontally beginning at the specified left with spacing between each Rect

distribute​Vertically

case distributeVertically(top:Int, spacing:Int)

Distrbutes the Rects vertically beginning at the specified top with spacing between each Rect