Touch¶
Under Construction
This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/scenery/blob/main/js/input/Touch.ts for the most up-to-date information.
Overview¶
Tracks a single touch point
IE guidelines for Touch-friendly sites: http://blogs.msdn.com/b/ie/archive/2012/04/20/guidelines-for-building-touch-friendly-sites.aspx
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class Touch¶
Constructor¶
new Touch( id : number, point : Vector2, event : Event )¶
Instance Methods¶
toString() : string¶
Returns an improved string representation of this object.
isTouchLike() : boolean¶
Instance Properties¶
id : number¶
For tracking which touch is which