Class: Processing::Touch
- Inherits:
-
Object
- Object
- Processing::Touch
- Defined in:
- lib/processing/touch.rb
Overview
Touch object.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Identifier of each touch.
-
#x ⇒ Object
readonly
Horizontal position of touch.
-
#y ⇒ Object
readonly
Vertical position of touch.
Instance Attribute Details
#id ⇒ Object (readonly)
Identifier of each touch
10 11 12 |
# File 'lib/processing/touch.rb', line 10 def id @id end |
#x ⇒ Object (readonly)
Horizontal position of touch
14 15 16 |
# File 'lib/processing/touch.rb', line 14 def x @x end |
#y ⇒ Object (readonly)
Vertical position of touch
18 19 20 |
# File 'lib/processing/touch.rb', line 18 def y @y end |