The GestureEvent class encapsulates information about a multi-touch gesture.
GestureEvent objects are high-level events that encapsulate the low-level TouchEvent objects. Both GestureEvent and TouchEvent events are sent during a multi-touch sequence. Gesture events contain scaling and rotation information allowing gestures to be combined, if supported by the platform. If not supported, one gesture ends before another starts. Listen for GestureEvent events if you want to respond to gestures only, not process the low-level TouchEvent objects.
The different types of GestureEvent objects that can occur are:
gesturestart
Sent when two or more fingers touch the surface.
gesturechange
Sent when fingers are moved during a gesture.
gestureend
Sent when the gesture ends (when there are 1 or 0 fingers touching the surface).
Namespace:
C1.Web.iPhoneAssembly: C1.Web.iPhone.Client (in C1.Web.iPhone.Client.dll)
Syntax
JavaScript |
---|
C1.Web.iPhone.GestureEventArgs = function(); Type.createClass( 'C1.Web.iPhone.GestureEventArgs', Client_C1.Web.iPhone.TouchEvent); |