Class: MG::SkewTo

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(x_angle, y_angle, interval) ⇒ SkewTp

Creates an action that skews a Node object to given angles by modifying it’s skewX and skewY attributes

Parameters:

  • x_angle (Float)

    the Skew X Angle

  • y_angle (Float)

    the Skew Y Angle

  • interval (Float)

    the animation interval.



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

def initialize(x_angle, y_angle, interval); end