Jump to content
GreenSock

Linear

.getRatio()

.getRatio( p:Number ) : Number

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

Parameters

p: Number

progress ratio (a value between 0 and 1 indicating the progress of the tween/ease)

 

Returns : Number

translated number

Details

Translates the tween's progress ratio into the corresponding ease ratio. This is the heart of the Ease, where it does all its work.

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.
×