Class: Processing::Touch

Inherits:
Object
  • Object
show all
Defined in:
lib/processing/touch.rb

Overview

Touch object.

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

Identifier of each touch



10
11
12
# File 'lib/processing/touch.rb', line 10

def id
  @id
end

#xObject (readonly)

Horizontal position of touch



14
15
16
# File 'lib/processing/touch.rb', line 14

def x
  @x
end

#yObject (readonly)

Vertical position of touch



18
19
20
# File 'lib/processing/touch.rb', line 18

def y
  @y
end