Kanzi  3.9.8
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 mValue)
 
 HorizontalAlignment (HorizontalAlignment enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

static HorizontalAlignment swigToEnum (int swigValue)
 
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.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.