Kanzi  3.9.8
Kanzi Engine Java API
MaskEffect2DEnums.Stretch Enum Reference

Defines the stretch modes. More...

Inheritance diagram for MaskEffect2DEnums.Stretch:
[legend]

Public Member Functions

 Stretch (int mValue)
 
 Stretch (Stretch enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

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

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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.