| Modifier and Type | Class and Description |
|---|---|
static class |
Touch.Event.Kind
Enumerates the different kinds of touch event.
|
Event.Input, Event.XY| Modifier and Type | Field and Description |
|---|---|
int |
id
The id of the touch associated with this event.
|
Touch.Event.Kind |
kind
Whether this event represents a start, move, etc.
|
float |
pressure
The pressure of the touch.
|
float |
size
The size of the touch.
|
flags, timeF_PREVENT_DEFAULT| Constructor and Description |
|---|
Event(int flags,
double time,
float x,
float y,
Touch.Event.Kind kind,
int id) |
Event(int flags,
double time,
float x,
float y,
Touch.Event.Kind kind,
int id,
float pressure,
float size) |
clearFlag, isAltDown, isCtrlDown, isMetaDown, isSet, isShiftDown, modifierFlags, setFlag, toString, updateFlagpublic final Touch.Event.Kind kind
public final int id
public final float pressure
public final float size
public Event(int flags,
double time,
float x,
float y,
Touch.Event.Kind kind,
int id)
public Event(int flags,
double time,
float x,
float y,
Touch.Event.Kind kind,
int id,
float pressure,
float size)
Copyright © 2018. All Rights Reserved.