Indicates the states of touch events. More...
Public Member Functions | |
TouchState (int value) | |
Constructs a TouchState of an integer value. More... | |
TouchState (TouchState enum_) | |
Constructs a copy of a TouchState 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 TouchState | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static TouchState | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
Begin =(0) | |
The first finger is down. | |
End =(2) | |
The last finger is up. | |
Update =(1) | |
A gesture or a touch event is in progress. | |
Indicates the states of touch events.
TouchState | ( | int | value | ) |
Constructs a TouchState of an integer value.
value | Integer value to convert to enumeration constant. |
TouchState | ( | TouchState | enum_ | ) |
Constructs a copy of a TouchState object.
enum_ | TouchState to be copy constructed. |
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. |