(Preview)
Package | spark.effects.easing |
Interface | public interface IEaser |
Implementors | Bounce, EaseInOutBase, Elastic, Linear |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
ease()
, which takes and returns a fraction according
to the easing behavior desired. As a simple example, LinearEase simply
returns the same input fraction, since there is no easing performed by
that easer. As another example, a reversing easer could be written which
returned the inverse fraction, (1 - fraction
).
By easing the fractional values of the time elapsed in an animation, these classes are easing the resulting values of the animation, but they only have to deal with the fractional value of time instead of any specific object types.
Related API Elements
Public Methods
Method | Defined By |
---|
Wed Nov 21 2018, 06:34 AM -08:00