Class: MG::TintTo

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(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.



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

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