Class CAAT.Event.TouchEvent
Defined in: TouchEvent.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
Was alt pressed ?
|
|
changed touches collection
|
|
Was control pressed ?
|
|
Was meta pressed ?
|
|
Was shift pressed ?
|
|
Source Actor the event happened in.
|
|
Original touch event.
|
|
Time the touch event was triggered at.
|
|
touches collection
|
Method Attributes | Method Name and Description |
---|---|
<private> |
__init()
Constructor delegate
|
addChangedTouch(touchInfo)
|
|
addTouch(touchInfo)
|
|
init(sourceEvent, source, time)
|
|
Field Detail
alt
Was alt pressed ?
changedTouches
changed touches collection
control
Was control pressed ?
meta
Was meta pressed ?
shift
Was shift pressed ?
source
Source Actor the event happened in.
sourceEvent
Original touch event.
time
Time the touch event was triggered at.
touches
touches collection
Method Detail
<private>
__init()
Constructor delegate
addChangedTouch(touchInfo)
- Parameters:
- touchInfo
{*}
addTouch(touchInfo)
- Parameters:
- touchInfo
- <{
id :
, point : { x: , y: }� }>
- Returns:
- {*}
getSourceEvent()
init(sourceEvent, source, time)
- Parameters:
- sourceEvent
- source
- time
isAltDown()
isControlDown()
isMetaDown()
isShiftDown()