Class: RubySketch::Processing::Touch

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

Overview

Touch object.

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

Identifier of each touch



713
714
715
# File 'lib/rubysketch/processing.rb', line 713

def id
  @id
end

#xObject (readonly)

Horizontal position of touch



717
718
719
# File 'lib/rubysketch/processing.rb', line 717

def x
  @x
end

#yObject (readonly)

Vertical position of touch



721
722
723
# File 'lib/rubysketch/processing.rb', line 721

def y
  @y
end