Packagecom.greensock.easing
Classpublic final class BackIn
InheritanceBackIn Inheritance Ease

Eases in with an overshoot, initially dipping below the starting value before accelerating towards the end.

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 : BackIn
[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.
BackIn
Public Methods
 MethodDefined by
  
BackIn(overshoot:Number = 1.70158)
Constructor
BackIn
  
config(overshoot:Number = 1.70158):BackIn
Permits customization of the ease with various parameters.
BackIn
  
getRatio(p:Number):Number
Translates the tween's progress ratio into the corresponding ease ratio.
BackIn
Property detail
easeproperty
public static var ease:BackIn

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.

Constructor detail
BackIn()constructor
public function BackIn(overshoot:Number = 1.70158)

Constructor

Parameters
overshoot:Number (default = 1.70158) — affects the degree or strength of the overshoot (default: 1.70158)
Method detail
config()method
public function config(overshoot:Number = 1.70158):BackIn

Permits customization of the ease with various parameters.

Parameters
overshoot:Number (default = 1.70158) — affects the degree or strength of the overshoot (default: 1.70158)

Returns
BackIn — new BackIn instance that is configured according to the parameters provided
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