Class Index

View All Classes

Class vs.fx.SkewAnimation

Extends vs.fx.Animation.

Skew your object over the X and Y axes

If the second parameter is not provided, it is takes a value equal to the first.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
ax
Specifies a skew transformation along the X axis by the given angle.
 
ay
Specifies a skew transformation along the X axis by the given angle.
Fields borrowed from class vs.fx.Animation:
delay, duration, durations, iterationCount, origin, properties, timing, timings, values
Fields borrowed from class vs.core.Task:
delegate, state
Methods borrowed from class vs.fx.Animation:
addKeyFrame, clone, process, setAnimations, start
Methods borrowed from class vs.core.Task:
pause, stop
Class Detail
vs.fx.SkewAnimation(x, y)

Author: David Thevenin.
 // declare the animation
 var scale = new vs.fx.SkewAnimation (0.5, 1);
 scale.process (comp);
Parameters:
{number} x
The scale value along the X axis
{number} y
The scale value along the Y axis
Field Detail
ax
Specifies a skew transformation along the X axis by the given angle.

ay
Specifies a skew transformation along the X axis by the given angle.