Kanzi  3.9.9
Kanzi Engine Java API
MaskEffect2DEnums.HorizontalAlignment Enum Reference

Defines the horizontal alignment modes. More...

Inheritance diagram for MaskEffect2DEnums.HorizontalAlignment:
[legend]

Public Member Functions

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

Public Attributes

 Center =(2)
 Centers the mask horizontally in the node.
 
 Count =(4)
 The number of horizontal alignment modes.
 
 Left =(0)
 Aligns the left edge of the mask with the left edge of the node.
 
 Right =(1)
 Aligns the right edge of the mask with the right edge of the node.
 
 Stretch =(3)
 Stretches the mask horizontally to fit the node from the left edge to the right edge.
 

Detailed Description

Defines the horizontal alignment modes.

Constructor & Destructor Documentation

HorizontalAlignment ( int  value)

Constructs a HorizontalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a HorizontalAlignment object.

Parameters
enum_HorizontalAlignment to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static HorizontalAlignment 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 HorizontalAlignment 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.