enum class DockedEdge {
/** The top edge of the pane is fixed, and resizing happens by moving the bottom edge. */
Top,
/** The bottom edge of the pane is fixed, and resizing happens by moving the top edge. */
Bottom,
/** The start edge of the pane is fixed, and resizing happens by moving the end edge. */
Start,
/** The end edge of the pane is fixed, and resizing happens by moving the start edge. */
End,
}
Represents the edge of a resizable pane that is docked, i.e. the edge that will stay in the same position during resizing.
For example if the edge is DockedEdge.Top, the top edge of the pane won't move and the bottom edge will be moveable to resize the pane.
Note that DragToResizeState only supports resizing along one orientation according to their DockedEdge. For example if DockedEdge.Top or DockedEdge.Bottom has been set, the resizing can only happen along the vertical axis.
Members
Top
Top
The top edge of the pane is fixed, and resizing happens by moving the bottom edge.
Bottom
Bottom
The bottom edge of the pane is fixed, and resizing happens by moving the top edge.
Start
Start
The start edge of the pane is fixed, and resizing happens by moving the end edge.
End
End
The end edge of the pane is fixed, and resizing happens by moving the start edge.