public TweenWorker(DisplayObject obj, TweenState endState, int milliseconds) { this.target = obj; this.StartState = new TweenState(obj); this.EndState = endState; this.duration = milliseconds; }
public TweenWorker(TweenState startState, TweenState endState, int milliseconds, EasingFormula easingFormula) { this.StartState = startState; this.EndState = endState; this.duration = milliseconds; this.easingFormula = easingFormula; }
public TweenWorker(DisplayObject obj, TweenState endState, int milliseconds, EasingFormula easingFormula) { this.target = obj; this.StartState = new TweenState(obj); this.EndState = endState; this.duration = milliseconds; this.easingFormula = easingFormula; }
public TweenWorker AnimateTo(TweenState destination, int milliseconds) { if (tweenWorker != null) { tweenWorker.End(); } tweenWorker = new TweenWorker(this, destination, milliseconds); return tweenWorker; }
public TweenWorker(TweenState startState, TweenState endState, int milliseconds) { this.StartState = startState; this.EndState = endState; this.duration = milliseconds; }
public TweenWorker(TweenState startState, TweenState endState, int milliseconds) { this.StartState = startState; this.EndState = endState; this.duration = new TimeSpan(0, 0, 0, 0, milliseconds); }