Kanzi 3.9.10
MaskEffect2DEnums.VerticalAlignment Enum Reference

Defines the vertical alignment modes. More...

Inheritance diagram for MaskEffect2DEnums.VerticalAlignment:
[legend]

Public Member Functions

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

Public Attributes

 Bottom =(0)
 Aligns the bottom edge of the mask with the bottom edge of the node.
 
 Center =(2)
 Centers the mask vertically in the node.
 
 Count =(4)
 The number of vertical alignment modes.
 
 Stretch =(3)
 Stretches the mask vertically to fit the node from the top edge to the bottom edge.
 
 Top =(1)
 Aligns the top edge of the mask with the top edge of the node.
 

Detailed Description

Defines the vertical alignment modes.

Constructor & Destructor Documentation

◆ VerticalAlignment() [1/2]

Constructs a VerticalAlignment of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ VerticalAlignment() [2/2]

Constructs a copy of a VerticalAlignment object.

Parameters
enum_VerticalAlignment 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 VerticalAlignment 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 VerticalAlignment 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.