Extends
vs.fx.Animation.
Scale your object over the X and Y axes
If the second parameter is not provided, it is takes a value equal to the first.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
vs.fx.ScaleAnimation(sx, sy)
|
| Field Attributes | Field Name and Description |
|---|---|
|
The scale value along the X axis
|
|
|
The scale value along the Y axis
|
- 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.ScaleAnimation(sx, sy)
Author: David Thevenin.
// declare the animation var scale = new vs.fx.ScaleAnimation (0.5, 1); scale.process (comp);
- Parameters:
- {number} sx
- The scale value along the X axis
- {number} sy
- The scale value along the Y axis
Field Detail
sx
The scale value along the X axis
sy
The scale value along the Y axis