| Package | com.greensock.easing |
| Class | public final class Elastic |
| Inheritance | Elastic Object |
Elastic is a convenience class that congregates the 3 types of Elastic eases (ElasticIn, ElasticOut,
and ElasticInOut) as static properties so that they can be referenced using the standard synatax, like
Elastic.easeIn, Elastic.easeOut, and Elastic.easeInOut.
You can configure the amplitude and period of the sine wave using the config() method, like
TweenLite.to(obj, 1, {x:100, ease:Elastic.easeOut.config(0.5, 2)});
Copyright 2012, GreenSock. All rights reserved. This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for Club GreenSock members, the software agreement that was issued with the membership.
| Property | Defined By | ||
|---|---|---|---|
| easeIn : ElasticIn [static] Eases using a sine wave that starts slowly and then accelerates over time | Elastic | ||
| easeInOut : ElasticInOut [static] Eases using a sine wave that starts slowly, then accelerates and then decelerates over time. | Elastic | ||
| easeOut : ElasticOut [static] Eases using a sine wave that starts fast and then decelerates over time. | Elastic | ||
| easeIn | property |
public static var easeIn:ElasticInEases using a sine wave that starts slowly and then accelerates over time
| easeInOut | property |
public static var easeInOut:ElasticInOutEases using a sine wave that starts slowly, then accelerates and then decelerates over time.
| easeOut | property |
public static var easeOut:ElasticOutEases using a sine wave that starts fast and then decelerates over time.