Packagecom.greensock.easing
Classpublic final class CircInOut
InheritanceCircInOut Inheritance Ease

Eases in and out with an abrupt change in velocity.

Copyright 2012, GreenSock. All rights reserved. This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for corporate Club GreenSock members, the software agreement that was issued with the corporate membership.



Public Properties
 PropertyDefined by
  ease : CircInOut
[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.
CircInOut
Public Methods
 MethodDefined by
  
getRatio(p:Number):Number
Translates the tween's progress ratio into the corresponding ease ratio.
CircInOut
Property detail
easeproperty
public static var ease:CircInOut

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.

Method detail
getRatio()method
public override function getRatio(p:Number):Number

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

Parameters
p:Number — progress ratio (a value between 0 and 1 indicating the progress of the tween/ease)

Returns
Number — translated number