bindings/touch_events library
Touch Events - Level 2
Classes
- Touch
-
The interface represents a single contact point on a
touch-sensitive device. The contact point is commonly a finger or
stylus and the device may be a touchscreen or trackpad.
The Touch.radiusX, Touch.radiusY, and
Touch.rotationAngle
describe the area of contact between the user and the screen, the touch area. This can be helpful when dealing with imprecise pointing devices such as fingers. These values are set to describe an ellipse that as closely as possible matches the entire area of contact (such as the user's fingertip). - TouchEvent
- The interface represents an UIEvent which is sent when the state of contacts with a touch-sensitive surface changes. This surface can be a touch screen or trackpad, for example. The event can describe one or more points of contact with the screen and includes support for detecting movement, addition and removal of contact points, and so forth. Touches are represented by the Touch object; each touch is described by a position, size and shape, amount of pressure, and target element. Lists of touches are represented by TouchList objects.
- TouchEventInit
- TouchInit
- TouchList
- The interface represents a list of contact points on a touch surface. For example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding object would have one Touch object for each finger, for a total of three entries.