Class: MG::TintTo

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

Constructors collapse

Methods inherited from Action

#clone, #done?, #reverse

Constructor Details

#initialize(red, green, blue, interval) ⇒ TintTo

Creates an action that tints the receiver from its current tint to a custom one.

Parameters:

  • red (Float)
  • green (Float)
  • blue (Float)
  • interval (Float)

    the animation interval.



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

def initialize(red, green, blue, interval); end