Class: RubySketch::Processing::Touch

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

Overview

Touch object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#xObject (readonly)

Horizontal position of touch



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

def x
  @x
end

#yObject (readonly)

Vertical position of touch



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

def y
  @y
end

Instance Method Details

#idObject

Raises:

  • (NotImplementedError)


724
725
726
# File 'lib/rubysketch/processing.rb', line 724

def id ()
  raise NotImplementedError
end