Dart API Referencedart:htmlTouch

Touch Interface

A Touch object represents a single point of contact between the user and a touch-sensitive interface device (which may be, for example, a touchscreen or a trackpad).

Fields

Code final int clientX #

The X coordinate of the touch point relative to the viewport, not including any scroll offset. Read only.
final int clientX;

Code final int clientY #

The Y coordinate of the touch point relative to the viewport, not including any scroll offset. Read only.
final int clientY;

Code final int identifier #

A unique identifier for this Touch object. A given touch (say, by a finger) will have the same identifier for the duration of its movement around the surface. This lets you ensure that you're tracking the same touch all the time. Read only.
final int identifier;

Code final int pageX #

The X coordinate of the touch point relative to the viewport, including any scroll offset. Read only.
final int pageX;

Code final int pageY #

The Y coordinate of the touch point relative to the viewport, including any scroll offset. Read only.
final int pageY;

Code final int screenX #

The X coordinate of the touch point relative to the screen, not including any scroll offset. Read only.
final int screenX;

Code final int screenY #

The Y coordinate of the touch point relative to the screen, not including any scroll offset. Read only.
final int screenY;

Code final EventTarget target #

final EventTarget target;

Code final num webkitForce #

final num webkitForce;

Code final int webkitRadiusX #

final int webkitRadiusX;

Code final int webkitRadiusY #

final int webkitRadiusY;

Code final num webkitRotationAngle #

final num webkitRotationAngle;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.