Package | com.greensock.easing |
Class | public final class Power0 |
Inheritance | Power0 ![]() |
easeIn
, easeOut
, and easeInOut
with a power (or strength)
of 0 which is identical to Linear
but with a more intuitive name. The more power, the more
exaggerated the easing effect. So Power0 actually has no power at all, providing a linear transition.
This is one of the eases that is natively accelerated in TweenLite and TweenMax. All of the "Power" eases and their counterparts (Linear (0), Quad (1), Cubic (2), Quart (3), Quint (4), and Strong (4)) are accelerated.
Example usage:
TweenLite.to(obj, 1, {x:100, ease:Power0.easeOut});
Copyright 2013, 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 : Ease [static] Eases in with a power of 0 (linear). | Power0 | ||
easeInOut : Ease [static] eases in and then out with a power of 0 (linear). | Power0 | ||
easeNone : Ease [static] Eases out with a power of 0 (linear). | Power0 | ||
easeOut : Ease [static] Eases out with a power of 0 (linear). | Power0 |
easeIn | property |
public static var easeIn:Ease
Eases in with a power of 0 (linear). Power0.easeIn, Power0.easeOut, and Power0.easeInOut are all identical because there is no power - they're all linear but use the common naming convention for ease of use.
easeInOut | property |
public static var easeInOut:Ease
eases in and then out with a power of 0 (linear). Power0.easeIn, Power0.easeOut, and Power0.easeInOut are all identical because there is no power - they're all linear but use the common naming convention for ease of use.
easeNone | property |
public static var easeNone:Ease
Eases out with a power of 0 (linear). Power0.easeNone, Power0.easeIn, Power0.easeOut, and Power0.easeInOut are all identical because there is no power - they're all linear but use the common naming convention for ease of use.
easeOut | property |
public static var easeOut:Ease
Eases out with a power of 0 (linear). Power0.easeIn, Power0.easeOut, and Power0.easeInOut are all identical because there is no power - they're all linear but use the common naming convention for ease of use.