Packagecom.greensock.easing
Classpublic class CustomEase

Facilitates creating custom bezier eases with the GreenSock Custom Ease Builder tool. It's essentially a place to store the bezier segment information for each ease instead of recreating it inside each function call which would slow things down. Please use the interactive tool available at http://blog.greensock.com/customease/ to generate the necessary code.

Copyright 2010, 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 Methods
 MethodDefined by
  
CustomEase(name:String, segments:Array)
CustomEase
  
byName(name:String):Function
[static]
CustomEase
  
create(name:String, segments:Array):Function
[static]
CustomEase
  
destroy():void
CustomEase
  
ease(time:Number, start:Number, change:Number, duration:Number):Number
CustomEase
Public Constants
 ConstantDefined by
  VERSION : Number = 1.01
[static]
CustomEase
Constructor detail
CustomEase()constructor
public function CustomEase(name:String, segments:Array)Parameters
name:String
 
segments:Array
Method detail
byName()method
public static function byName(name:String):FunctionParameters
name:String

Returns
Function
create()method 
public static function create(name:String, segments:Array):FunctionParameters
name:String
 
segments:Array

Returns
Function
destroy()method 
public function destroy():void
ease()method 
public function ease(time:Number, start:Number, change:Number, duration:Number):NumberParameters
time:Number
 
start:Number
 
change:Number
 
duration:Number

Returns
Number
Constant detail
VERSIONconstant
public static const VERSION:Number = 1.01