WindowGravity#
Added in version 4.20.
- class WindowGravity#
Determines which point or edge of a window is meant to remain fixed when a window changes size.
Fields#
- class WindowGravity
- BOTTOM#
The bottom edge
- BOTTOM_END#
The bottom right or top left corner, depending on the text direction
- BOTTOM_LEFT#
The bottom left corner
- BOTTOM_RIGHT#
The bottom right corner
- BOTTOM_START#
The bottom left or top right corner, depending on the text direction
- CENTER#
The center pointer
- END#
The right or left edge, depending on the text direction
- LEFT#
The left edge
- RIGHT#
The right edge
- START#
The left or right edge, depending on the text direction
- TOP#
The top edge
- TOP_END#
The top right or top left corner, depending on the text direction
- TOP_LEFT#
The top left corner
- TOP_RIGHT#
The top right corner
- TOP_START#
The top left or top right corner, depending on the text direction