/// <summary> /// Stops animation /// </summary> /// <param name="parameters">Parameters</param> public static void StopAnimation(this IAnimationParameters parameters) { animationParameters = parameters; startAnimation.Stop(); }
/// <summary> /// Pauses animation /// </summary> /// <param name="parameters">Parameters</param> public static void PauseAnimation(this IAnimationParameters parameters) { startAnimation.Pause(); }
/// <summary> /// Starts Synchronous animation /// </summary> /// <param name="parameters">Parameters</param> /// <param name="animation">Animation action</param> public static void StartSynchronousAnimation(this IAnimationParameters parameters, Action <Action> animation) { animationParameters = parameters; startAnimation.Start(animation); }