Kanzi  3.9.9
Kanzi Engine Java API
MaskEffect2DEnums.Stretch Enum Reference

Defines the stretch modes. More...

Inheritance diagram for MaskEffect2DEnums.Stretch:
[legend]

Public Member Functions

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

Public Attributes

 Count =(5)
 The number of stretch modes.
 
 Fill =(1)
 Stretches the mask to fill the node.
 
 None =(0)
 Does not stretch the mask.
 
 Repeat =(4)
 Does not stretch the mask, and allows the mask to repeat outside of its area based on the mask texture wrap mode.
 
 Uniform =(2)
 Stretches the mask using uniform scaling to fill the node in either vertical or horizontal direction, whichever requires smaller scale.
 
 UniformToFill =(3)
 Stretches the mask using uniform scaling to fill the node in either vertical or horizontal direction, whichever requires larger scale.
 

Detailed Description

Defines the stretch modes.

Constructor & Destructor Documentation

Stretch ( int  value)

Constructs a Stretch of an integer value.

Parameters
valueInteger value to convert to enumeration constant.
Stretch ( Stretch  enum_)

Constructs a copy of a Stretch object.

Parameters
enum_Stretch to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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