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