Vertical alignment options for text layout. More...
Public Member Functions | |
TextVerticalAlignment (int value) | |
Constructs a TextVerticalAlignment of an integer value. More... | |
TextVerticalAlignment (TextVerticalAlignment enum_) | |
Constructs a copy of a TextVerticalAlignment object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static TextVerticalAlignment | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static TextVerticalAlignment | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
TextVerticalAlignmentBaseline =(1) | |
Text is aligned to the baseline of the first line of the text. | |
TextVerticalAlignmentBottom =(3) | |
Text is aligned to the bottom. | |
TextVerticalAlignmentCenter =(2) | |
Text is centered vertically. | |
TextVerticalAlignmentTop =(0) | |
Text is aligned to the top. | |
Vertical alignment options for text layout.
TextVerticalAlignment | ( | int | value | ) |
Constructs a TextVerticalAlignment of an integer value.
value | Integer value to convert to enumeration constant. |
Constructs a copy of a TextVerticalAlignment object.
enum_ | TextVerticalAlignment to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |