public void Commit(Animatable owner, string name, uint rate = 16, uint length = 250, Func<double, double> easing = null, Action<double, bool> finished = null, Func<bool> repeat = null) { owner.Animate (name, this, rate, length, easing, finished, repeat); }
public static void Animate(this Animatable self, string name, Action <float> callback, uint rate = 16, uint length = 250, Func <float, float> easing = null, Action <float, bool> finished = null, Func <bool> repeat = null) { self.Animate <float> (name, x => x, callback, rate, length, easing, finished, repeat); }
public static void Animate(this Animatable self, string name, Action <double> callback, double start, double end, uint rate = 16, uint length = 250, Func <double, double> easing = null, Action <double, bool> finished = null, Func <bool> repeat = null) { self.Animate <double> (name, Interpolate(start, end), callback, rate, length, easing, finished, repeat); }
public void Commit(Animatable owner, string name, uint rate = 16, uint length = 250, Func <float, float> easing = null, Action <float, bool> finished = null, Func <bool> repeat = null) { owner.Animate(name, this, rate, length, easing, finished, repeat); }
public static void Animate(this Animatable self, string name, Animation animation, uint rate = 16, uint length = 250, Func <double, double> easing = null, Action <double, bool> finished = null, Func <bool> repeat = null) { self.Animate(name, animation.GetCallback(), rate, length, easing, finished, repeat); }