Class: MG::SkewBy

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_x_angle, delta_y_angle, interval) ⇒ SkewBy

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

Parameters:

  • delta_x_angle (Float)

    the skew X delta angle

  • delta_y_angle (Float)

    the skew Y delta angle

  • interval (Float)

    the animation interval.



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

def initialize(delta_x_angle, delta_y_angle, interval); end