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