Enum Constant and Description |
---|
PIVOT_MODE_CENTERPOINT
Screen center is always used for pivot point.
|
PIVOT_MODE_TOUCHPOINT
The touch point (or middle point between 2 finger touches) is used as the pivot point.
|
Modifier and Type | Method and Description |
---|---|
static PivotMode |
swigToEnum(int swigValue) |
int |
swigValue() |
static PivotMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PivotMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PivotMode PIVOT_MODE_TOUCHPOINT
public static final PivotMode PIVOT_MODE_CENTERPOINT
public static PivotMode[] values()
for (PivotMode c : PivotMode.values()) System.out.println(c);
public static PivotMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int swigValue()
public static PivotMode swigToEnum(int swigValue)