Packagecom.greensock.easing
Classpublic final class Linear
InheritanceLinear Inheritance Ease Inheritance Object

Linear ease with no acceleration or deceleration. Linear is identical to 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 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.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
Constructor
Linear
 Inherited
getRatio(p:Number):Number
Translates the tween's progress ratio into the corresponding ease ratio.
Ease
Property Detail
easeproperty
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.

easeInproperty 
public static var easeIn:Linear

Linear ease with no acceleration or deceleration

easeInOutproperty 
public static var easeInOut:Linear

Linear ease with no acceleration or deceleration

easeNoneproperty 
public static var easeNone:Linear

Linear ease with no acceleration or deceleration (for backwards compatibility)

easeOutproperty 
public static var easeOut:Linear

Linear ease with no acceleration or deceleration

Constructor Detail
Linear()Constructor
public function Linear()

Constructor