Kanzi 3.9.10
TextFormatEnums.TextVerticalAlignment Enum Reference

Vertical alignment options for text layout. More...

Inheritance diagram for TextFormatEnums.TextVerticalAlignment:
[legend]

Public Member Functions

 TextVerticalAlignment (int value)
 Constructs a TextVerticalAlignment of an integer value.
 
 TextVerticalAlignment (TextVerticalAlignment enum_)
 Constructs a copy of a TextVerticalAlignment 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 TextVerticalAlignment swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static TextVerticalAlignment toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

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.
 

Detailed Description

Vertical alignment options for text layout.

Constructor & Destructor Documentation

◆ TextVerticalAlignment() [1/2]

Constructs a TextVerticalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ TextVerticalAlignment() [2/2]

Constructs a copy of a TextVerticalAlignment object.

Parameters
enum_TextVerticalAlignment 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 TextVerticalAlignment 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 TextVerticalAlignment 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.