| Package | org.as3lib.kitchensync.easing |
| Class | public class Exponential |
Exponential produces values based on an exponentially decaying sine wave.
The easing classes provide static methods for interpolating the change between two values over time.
Each class handles the interpolation, or easing, differently. Each class typically contains three methods
- easeIn(), easeOut() and easeInOut() - which vary the rate of change
of the values. Most of the easing functions produce values as a percentage - a number between 0.0 and 1.0
See also
| Method | Defined by | ||
|---|---|---|---|
|
easeIn(timeElapsed:Number, duration:Number):Number
[static]
| Exponential | ||
|
easeInOut(timeElapsed:Number, duration:Number):Number
[static]
| Exponential | ||
|
easeOut(timeElapsed:Number, duration:Number):Number
[static]
| Exponential | ||
|
easeOutIn(timeElapsed:Number, duration:Number):Number
[static]
| Exponential | ||
| easeIn | () | method |
public static function easeIn(timeElapsed:Number, duration:Number):NumberParameters
timeElapsed:Number — - The time since the tween began in milliseconds or frames.
|
|
duration:Number — - The duration of the tween, in milliseconds or frames.
|
Number — Number percentage complete - between 0.0 and 1.0
|
| easeInOut | () | method |
public static function easeInOut(timeElapsed:Number, duration:Number):NumberParameters
timeElapsed:Number — - Specifies the time since the tween began in milliseconds or frames.
|
|
duration:Number — - Specifies the duration of the tween, in milliseconds or frames.
|
Number — Number percentage complete - between 0.0 and 1.0
|
| easeOut | () | method |
public static function easeOut(timeElapsed:Number, duration:Number):NumberParameters
timeElapsed:Number — - Specifies the time since the tween began in milliseconds or frames.
|
|
duration:Number — - Specifies the duration of the tween, in milliseconds or frames.
|
Number — Number percentage complete - between 0.0 and 1.0
|
| easeOutIn | () | method |
public static function easeOutIn(timeElapsed:Number, duration:Number):NumberParameters
timeElapsed:Number — Specifies the time since the tween began in milliseconds or frames.
|
|
duration:Number — Specifies the duration of the tween, in milliseconds or frames.
|
Number — percentage complete - between 0.0 and 1.0
|