public static WinAnimation Start(Window window, Area target, int duration, Curve curve) { var animation = new WinAnimation(window, target, duration, curve); animation.Start(); return(animation); }
public static WinAnimation Start(Window window, Area start, Area end, int duration, Curve curve) { var animation = new WinAnimation(window, end, duration, curve); animation.StartArea = start; animation.Start(); return(animation); }