Chemical Data Processing Library Python API - Version 1.1.1
|
Provides flags that are used to specify the 2D alignment of graphical objects within a bounded rectangular area. More...
Static Public Attributes | |
int | BOTTOM = 8 |
Specifies an alignment to the bottom. | |
int | CENTER = 15 |
Specifies that an object has to be centered horizontally and vertically. | |
int | H_ALIGNMENT_MASK = 3 |
A bitmask for all horizontal alignment flags. | |
int | H_CENTER = 3 |
Specifies that an object has to be centered horizontally. | |
int | LEFT = 1 |
Specifies an alignment to the left. | |
int | NONE = 0 |
Specifies that an object has no special alignment. | |
int | RIGHT = 2 |
Specifies an alignment to the right. | |
int | TOP = 4 |
Specifies an alignment to the top. | |
int | V_ALIGNMENT_MASK = 12 |
A bitmask for all vertical alignment flags. | |
int | V_CENTER = 12 |
Specifies that an object has to be centered vertically. | |
Provides flags that are used to specify the 2D alignment of graphical objects within a bounded rectangular area.
The flags may be combined by a bitwise OR operation to specify a composite alignment for both directions. For example: (Alignment.RIGHT | Alignment.BOTTOM)
specifies an alignment to the bottom-right corner.