touches

Developer after receiving a touch class events on the event object, you can receive current stay in touch point on the screen.

Touch objects

Attributes Types of description
pageX , pageY Number Distance from the top left corner of the document, transverse X, Y longitudinal direction
clientX, clientY Number Depending on the distance from the screen upper left corner of the mouth, transverse X, Y longitudinal direction

Guess you like

Origin www.cnblogs.com/furuihua/p/11431059.html