Methods
Horizontal_ByIndex
#Perform left-to-right layout on a list of rectangles starting at the left edge of the layout area. Rectangles are ordered by index. The width of the rectangles is guaranteed to remain the same.
Horizontal_ByPosition
#Perform left-to-right layout on a list of rectangles at the left edge of the layout area.
Parameters:
| area (Rectangle) | Layout area. The right edge is ignored. |
| stack (List<Rectangle>) | The rectangles to lay out. |
| expand (bool) | If True, the rectangles will be expanded to fill the entire height of the layout area. |
| radical (int) | Radical index. The radical represents the special rectangle which takes positioning preference. For example, during Drag operations, the rectangle being dragged is the radical. |
Horizontal_ByPosition
#Perform left-to-right layout on a list of rectangles at the left edge of the layout area.
Vertical_ByIndex
#Perform top-to-bottom layout on a list of rectangles starting at the upper edge of the layout area. Rectangles are ordered by index. The height of the rectangles is guaranteed to remain the same.
Vertical_ByPosition
#Perform top-to-bottom layout on a list of rectangles at the upper edge of the layout area.
Parameters:
| area (Rectangle) | Layout area. The bottom edge is ignored. |
| stack (List<Rectangle>) | The rectangles to lay out. |
| expand (bool) | If True, the rectangles will be expanded to fill the entire width of the layout area. |
| radical (int) | Radical index. The radical represents the special rectangle which takes positioning preference. For example, during Drag operations, the rectangle being dragged is the radical. |
Vertical_ByPosition
#Perform top-to-bottom layout on a list of rectangles at the upper edge of the layout area.