GODPAPER | All Packages | All Classes | Index | Frames No Frames |
Elastic

Package | com.gskinner.motion.easing
Class | public class Elastic
Inheritance | Elastic Object

Easing class for use with GTween. This ease class is not compatible with other tweening engines. GTween can use standard t,b,c,d format ease classes.

Protected Properties

| Property | Defined By
--- | --- | ---
|  | a : Number = 1 [static] | Elastic
|  | p : Number = 0.3 [static] | Elastic
|  | s : Number [static] | Elastic

Public Methods

| Method | Defined By
--- | --- | ---
|  | easeIn(ratio:Number, unused1:Number, unused2:Number, unused3:Number):Number [static] | Elastic
|  | easeInOut(ratio:Number, unused1:Number, unused2:Number, unused3:Number):Number [static] | Elastic
|  | easeOut(ratio:Number, unused1:Number, unused2:Number, unused3:Number):Number [static] | Elastic

Property Detail

a | property

`protected static var a:Number = 1`

p | property |

`protected static var p:Number = 0.3`

s | property |

`protected static var s:Number`

Method Detail

easeIn | () | method

`public static function easeIn(ratio:Number, unused1:Number, unused2:Number, unused3:Number):Number`

Parameters

| `ratio:Number`
| `unused1:Number`
| `unused2:Number`
| `unused3:Number`

Returns

| `Number`

easeInOut | () | method |

`public static function easeInOut(ratio:Number, unused1:Number, unused2:Number, unused3:Number):Number`

Parameters

| `ratio:Number`
| `unused1:Number`
| `unused2:Number`
| `unused3:Number`

Returns

| `Number`

easeOut | () | method |

`public static function easeOut(ratio:Number, unused1:Number, unused2:Number, unused3:Number):Number`

Parameters

| `ratio:Number`
| `unused1:Number`
| `unused2:Number`
| `unused3:Number`

Returns

| `Number`

Thu Jan 16 2014, 01:11 PM +08:00