Defines the stretch modes. More...
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. | |
Defines the stretch modes.
| int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
| value | Integer value to convert to enumeration constant. |