Module: Processing::Proxy

Includes:
Java::ProcessingCore::PConstants, Math, HelperMethods
Defined in:
lib/jruby_art/app.rb

Overview

Importing PConstants here to access the processing constants

Instance Method Summary collapse

Methods included from HelperMethods

#blend_color, #buffer, #color, #dist, #find_method, #frame_rate, #grid, #hsb_color, #int_to_ruby_colors, #java_self, #kamera, #key, #key_pressed?, #lerp_color, #load_strings, #max, #min, #mouse_pressed?, #perspektiv, #proxy_java_fields, #save_strings, #thread, #web_to_color_array

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



199
200
201
202
# File 'lib/jruby_art/app.rb', line 199

def method_missing(name, *args)
  return $app.send(name, *args) if $app && $app.respond_to?(name)
  super
end