Kanzi 3.9.10
MaskEffect2DEnums.HorizontalAlignment Enum Reference

Defines the horizontal alignment modes. More...

Inheritance diagram for MaskEffect2DEnums.HorizontalAlignment:
[legend]

Public Member Functions

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

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() [1/2]

Constructs a HorizontalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ HorizontalAlignment() [2/2]

Constructs a copy of a HorizontalAlignment object.

Parameters
enum_HorizontalAlignment 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 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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.