Class that holds multiple touch events at the same time. More...
Public Member Functions | |
TouchEventCollection () | |
Constructor. | |
TouchEvent | GetTouchEventByID (int id) |
Obtains the touch event of the specified finger ID. | |
int | Add (TouchEvent touchEvent) |
Adds a touch event. | |
void | Insert (int index, TouchEvent touchEvent) |
Adds a touch event to the specified index position. | |
int | IndexOf (TouchEvent touchEvent) |
Obtains the index of a specified touch event. | |
void | Remove (TouchEvent touchEvent) |
Deletes the specified touch event. | |
bool | Contains (TouchEvent touchEvent) |
Obtains whether or not the specified touch event is included. | |
Properties | |
TouchEvent | this [int index] [get, set] |
Indexer. | |
TouchEvent | PrimaryTouchEvent [get, set] |
Obtains the touch event of the widget that was first touched by a finger. | |
bool | Forward [get, set] |
Obtains and sets whether to forward a touch event included in a collection. |
Class that holds multiple touch events at the same time.
int Add | ( | TouchEvent | touchEvent | ) |
Adds a touch event.
touchEvent | Touch event |
bool Contains | ( | TouchEvent | touchEvent | ) |
Obtains whether or not the specified touch event is included.
touchEvent | Touch event |
TouchEvent GetTouchEventByID | ( | int | id | ) |
Obtains the touch event of the specified finger ID.
id | Finger ID |
int IndexOf | ( | TouchEvent | touchEvent | ) |
Obtains the index of a specified touch event.
touchEvent | Touch event |
void Insert | ( | int | index, |
TouchEvent | touchEvent | ||
) |
Adds a touch event to the specified index position.
index | Index |
touchEvent | Touch event |
void Remove | ( | TouchEvent | touchEvent | ) |
Deletes the specified touch event.
touchEvent | Touch event |
bool Forward [get, set] |
Obtains and sets whether to forward a touch event included in a collection.
Default value is False.