Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Linear

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});

Constructor

Linear( ) ;

Constructor

Properties

easeIn : Linear

[static] Linear ease with no acceleration or deceleration

easeInOut : Linear

[static] Linear ease with no acceleration or deceleration

easeNone : Linear

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

easeOut : Linear

[static] Linear ease with no acceleration or deceleration

Methods

getRatio( p:Number ) : Number

Translates the tween's progress ratio into the corresponding ease ratio.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×