Package | com.greensock.easing |
Class | public final class BackInOut |
Inheritance | BackInOut ![]() ![]() |
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.
Property | Defined By | ||
---|---|---|---|
ease : BackInOut [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. | BackInOut |
Method | Defined By | ||
---|---|---|---|
BackInOut(overshoot:Number = 1.70158)
Constructor
| BackInOut | ||
Permits customization of the ease with various parameters. | BackInOut | ||
getRatio(p:Number):Number [override]
Translates the tween's progress ratio into the corresponding ease ratio. | BackInOut |
ease | property |
public static var ease:BackInOut
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.
BackInOut | () | Constructor |
public function BackInOut(overshoot:Number = 1.70158)
Constructor
Parametersovershoot:Number (default = 1.70158 ) — affects the degree or strength of the overshoot (default: 1.70158)
|
config | () | method |
public function config(overshoot:Number = 1.70158):BackInOut
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)
|
BackInOut — new BackInOut instance that is configured according to the parameters provided
|
getRatio | () | method |
override public 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)
|
Number — translated number
|