Class: MG::ScaleTo

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(scale, interval) ⇒ ScaleTo

Creates an action that will scale the receiver

Parameters:

  • scale (Float)

    the receiver should be scaled to

  • interval (Float)

    the animation interval.



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

def initialize(scale, interval); end