Horizontal alignment options for text layout. More...
Public Member Functions | |
TextHorizontalAlignment (int value) | |
Constructs a TextHorizontalAlignment of an integer value. More... | |
TextHorizontalAlignment (TextHorizontalAlignment enum_) | |
Constructs a copy of a TextHorizontalAlignment 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 TextHorizontalAlignment | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static TextHorizontalAlignment | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
TextHorizontalAlignmentCenter =(2) | |
Text is centered horizontally. | |
TextHorizontalAlignmentLeft =(0) | |
Text is aligned to the left. | |
TextHorizontalAlignmentRight =(1) | |
Text is aligned to the right. | |
Horizontal alignment options for text layout.
TextHorizontalAlignment | ( | int | value | ) |
Constructs a TextHorizontalAlignment of an integer value.
value | Integer value to convert to enumeration constant. |
Constructs a copy of a TextHorizontalAlignment object.
enum_ | TextHorizontalAlignment 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. |