Kanzi 3.9.10
TextFormatEnums.TextHorizontalAlignment Enum Reference

Horizontal alignment options for text layout. More...

Inheritance diagram for TextFormatEnums.TextHorizontalAlignment:
[legend]

Public Member Functions

 TextHorizontalAlignment (int value)
 Constructs a TextHorizontalAlignment of an integer value.
 
 TextHorizontalAlignment (TextHorizontalAlignment enum_)
 Constructs a copy of a TextHorizontalAlignment object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static TextHorizontalAlignment swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static TextHorizontalAlignment toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 TextHorizontalAlignmentCenter =(2)
 Text is centered horizontally.
 
 TextHorizontalAlignmentLeft =(0)
 Text is aligned to the left.
 
 TextHorizontalAlignmentRight =(1)
 Text is aligned to the right.
 

Detailed Description

Horizontal alignment options for text layout.

Constructor & Destructor Documentation

◆ TextHorizontalAlignment() [1/2]

Constructs a TextHorizontalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ TextHorizontalAlignment() [2/2]

Constructs a copy of a TextHorizontalAlignment object.

Parameters
enum_TextHorizontalAlignment to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static TextHorizontalAlignment swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static TextHorizontalAlignment toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.