TweenFactory
| Kind of class: | class |
|---|---|
| Inherits from: | AbstractFactory |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.transitions.TweenFactory |
| File last modified: | Wednesday, 31 October 2007, 07:35:30 |
Summary
Instance properties
Instance properties inherited from AbstractFactory
Class methods
Instance methods
Instance methods inherited from AbstractFactory
Class methods
Instance methods
buildBasicTweenFPS
function buildBasicTweenFPS (
rate:Number,
easing:Function) : IBasicTween
buildBasicTweenMS
function buildBasicTweenMS (
rate:Number,
easing:Function) : IBasicTween
buildTween
function buildTween (
rate:Number,
easing:Function,
isFPS:Boolean,
hasEvent:Boolean) : IBasicTween
Constructs a new
IBasicTween instance.It acts as a factory, return type will depend upon passed arguments.
Parameters:
target :
Object(s) targeted by the tween.
property :
Setter : Method(s) or propert(y)(ies).
endValue :
Ending value(s) of propert(y)(ies).
rate :
Length of time (in frame per second or millisecond).
startValue:
Starting value(s) of propert(y)(ies) (optional).
easing :
Easing function (optional, default value is without easing).
isFPS :
Easing function (optional, default value is true).
hasEvent :
Easing function (optional, default value is true).
buildTweenFPS
function buildTweenFPS (
rate:Number,
easing:Function) : IBasicTween
buildTweenMS
function buildTweenMS (
rate:Number,
easing:Function) : IBasicTween
toString
function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance