Package | pq.multitouch.gestures |
Class | public class BaseGesture |
Inheritance | BaseGesture ![]() |
Property | Defined by | ||
---|---|---|---|
touchManager : TouchManager
[read-only]Get the TouchManager instance of current gesture.
| BaseGesture | ||
obj : DisplayObject
[read-only]Get the DisplayObject under this BaseGesture instance's control.
| BaseGesture |
Method | Defined by | ||
---|---|---|---|
BaseGesture():void
BaseGesture class is the base class for all touch gestures and manipulators.
| BaseGesture | ||
touchDownHandler(e:PQTouchEvent):void
Overwrite touchDownHandler to implement your own TouchDown logic.
|
BaseGesture | ||
touchMoveHandler(e:PQTouchEvent):void
Overwrite touchMoveHandler to implement your own TouchMove logic.
|
BaseGesture | ||
touchUpHandler(e:PQTouchEvent):void
Overwrite TouchUpHandler to implement your own TouchUp logic.
|
BaseGesture |
touchManager | property |
touchManager:TouchManager
[read-only]
Get the TouchManager instance of current gesture.
Implementationpublic function get |
obj | property |
obj:DisplayObject
[read-only]
Get the DisplayObject under this BaseGesture instance's control.
Implementationpublic function get |
touchDownHandler |
() | method |
public virtual function touchDownHandler(e:PQTouchEvent):void
Overwrite touchDownHandler to implement your own TouchDown logic.
Parameterse:PQTouchEvent — touch event instance. |
touchMoveHandler | () | method |
public virtual function touchMoveHandler(e:PQTouchEvent):void
Overwrite touchMoveHandler to implement your own TouchMove logic.
Parameterse :PQTouchEvent — touch event instance. |
touchUpHandler | () | method |
public virtual function touchUpHandler(e:PQTouchEvent):void
Overwrite touchUpHandler to implement your own TouchUp logic.
Parameterse :PQTouchEvent — touch event instance. |