Class: MG::TintBy

Inherits:
Action show all
Defined in:
doc/API_reference.rb

Instance Attribute Summary

Attributes inherited from Action

#done?

Constructors collapse

Methods inherited from Action

#clone, #reverse

Constructor Details

#initialize(delta_red, delta_green, delta_blue, interval) ⇒ TintBy

Creates an action that tints a Node from current tint to a custom one.

Parameters:

  • delta_red (Float)
  • delta_green (Float)
  • delta_blue (Float)
  • interval (Float)

    the animation interval.



177
# File 'doc/API_reference.rb', line 177

def initialize(delta_red, delta_green, delta_blue, interval); end