Пример #1
0
 public ScaleToActionState(Drawable target, ScaleTo action)
     : base(target, action)
 {
     StartScale = target.Scale;
     DeltaScale = action.EndScale - StartScale;
 }
Пример #2
0
 public ScaleByActionState(Drawable target, ScaleTo action)
     : base(target, action)
 {
     DeltaScale = StartScale*action.EndScale - StartScale;
 }