Defines the stretch modes. More...
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. | |
Defines the stretch modes.
Stretch | ( | int | value | ) |
Constructs a Stretch of an integer value.
value | Integer value to convert to enumeration constant. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |