Beispiel #1
0
 public TweenWorker(DisplayObject obj, TweenState endState,  int milliseconds)
 {
     this.target = obj;
     this.StartState = new TweenState(obj);
     this.EndState = endState;
     this.duration = milliseconds;
 }
Beispiel #2
0
 public TweenWorker(TweenState startState, TweenState endState,  int milliseconds, EasingFormula easingFormula)
 {
     this.StartState = startState;
     this.EndState = endState;
     this.duration = milliseconds;
     this.easingFormula = easingFormula;
 }
Beispiel #3
0
 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;
 }
Beispiel #4
0
 public TweenWorker AnimateTo(TweenState destination, int milliseconds)
 {
     if (tweenWorker != null)
     {
         tweenWorker.End();
     }
     tweenWorker = new TweenWorker(this, destination, milliseconds);
     return tweenWorker;
 }
Beispiel #5
0
 public TweenWorker(TweenState startState, TweenState endState,  int milliseconds)
 {
     this.StartState = startState;
     this.EndState = endState;
     this.duration = milliseconds;
 }
Beispiel #6
0
 public TweenWorker(TweenState startState, TweenState endState, int milliseconds)
 {
     this.StartState = startState;
     this.EndState   = endState;
     this.duration   = new TimeSpan(0, 0, 0, 0, milliseconds);
 }
Beispiel #7
0
 public TweenWorker(TweenState startState, TweenState endState,  int milliseconds)
 {
     this.StartState = startState;
     this.EndState = endState;
     this.duration = new TimeSpan(0, 0, 0, 0, milliseconds);
 }