Pen¶
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/Pen.ts for the most up-to-date information.
Overview¶
Tracks a stylus ('pen') or something with tilt and pressure information
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class Pen¶
Constructor¶
new Pen( 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 pen is which