Kanzi  3.9.9
Kanzi Engine Java API
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. 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.
 

Detailed Description

Vertical alignment options for text layout.

Constructor & Destructor Documentation

TextVerticalAlignment ( int  value)

Constructs a TextVerticalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a TextVerticalAlignment object.

Parameters
enum_TextVerticalAlignment to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
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.