Package | com.greensock.easing |
Class | public final class Linear |
Inheritance | Linear Ease Object |
Power0
.
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:Linear.easeNone});
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 | ||
---|---|---|---|
ease : Linear [static] The default ease instance which can be reused many times in various tweens in order to conserve memory and improve performance slightly compared to creating a new instance each time. | Linear | ||
easeIn : Linear [static] Linear ease with no acceleration or deceleration | Linear | ||
easeInOut : Linear [static] Linear ease with no acceleration or deceleration | Linear | ||
easeNone : Linear [static] Linear ease with no acceleration or deceleration (for backwards compatibility) | Linear | ||
easeOut : Linear [static] Linear ease with no acceleration or deceleration | Linear |
Method | Defined By | ||
---|---|---|---|
Linear() Constructor | Linear | ||
getRatio(p:Number):Number
Translates the tween's progress ratio into the corresponding ease ratio. | Ease |
ease | property |
public static var ease:Linear
The default ease instance which can be reused many times in various tweens in order to conserve memory and improve performance slightly compared to creating a new instance each time.
easeIn | property |
public static var easeIn:Linear
Linear ease with no acceleration or deceleration
easeInOut | property |
public static var easeInOut:Linear
Linear ease with no acceleration or deceleration
easeNone | property |
public static var easeNone:Linear
Linear ease with no acceleration or deceleration (for backwards compatibility)
easeOut | property |
public static var easeOut:Linear
Linear ease with no acceleration or deceleration
Linear | () | Constructor |
public function Linear()
Constructor