public class JsTouch extends JsElementalMixinBase implements Touch
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsTouch() |
Modifier and Type | Method and Description |
---|---|
int |
getClientX()
The X coordinate of the touch point relative to the viewport, not including any scroll offset.
|
int |
getClientY()
The Y coordinate of the touch point relative to the viewport, not including any scroll offset.
|
int |
getIdentifier()
A unique identifier for this
Touch object. |
int |
getPageX()
The X coordinate of the touch point relative to the viewport, including any scroll offset.
|
int |
getPageY()
The Y coordinate of the touch point relative to the viewport, including any scroll offset.
|
int |
getScreenX()
The X coordinate of the touch point relative to the screen, not including any scroll offset.
|
int |
getScreenY()
The Y coordinate of the touch point relative to the screen, not including any scroll offset.
|
EventTarget |
getTarget() |
float |
getWebkitForce() |
int |
getWebkitRadiusX() |
int |
getWebkitRadiusY() |
float |
getWebkitRotationAngle() |
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
intAt, length
numberAt
public final int getClientX()
Touch
getClientX
in interface Touch
public final int getClientY()
Touch
getClientY
in interface Touch
public final int getIdentifier()
Touch
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.getIdentifier
in interface Touch
public final int getPageX()
Touch
public final int getPageY()
Touch
public final int getScreenX()
Touch
getScreenX
in interface Touch
public final int getScreenY()
Touch
getScreenY
in interface Touch
public final EventTarget getTarget()
public final float getWebkitForce()
getWebkitForce
in interface Touch
public final int getWebkitRadiusX()
getWebkitRadiusX
in interface Touch
public final int getWebkitRadiusY()
getWebkitRadiusY
in interface Touch
public final float getWebkitRotationAngle()
getWebkitRotationAngle
in interface Touch
Copyright © 2016. All rights reserved.