public static void CreateSplineAnimation(FrameworkElement Item, DependencyProperty dp, double ToValue, double SecondTime, double SplineX1, double SplineY1, double SplineX2, double SplineY2, Action OnCompleted, SetExtentAnimationTimelineDelegate SetExtentValue) { CuxTransformAnimationUsingKeyFrames <T> animation = new CuxTransformAnimationUsingKeyFrames <T>(); animation.AddSplineKeyFrame(ToValue, SecondTime, SplineX1, SplineY1, SplineX2, SplineY2); animation.BeginAnimation(Item, dp, OnCompleted, SetExtentValue); }
public static void CreateSplineAnimation(FrameworkElement Item, DependencyProperty dp, double FromValue, double ToValue, double SecondTime, Action OnCompleted) { CuxTransformAnimationUsingKeyFrames <T> .CreateSplineAnimation(Item, dp, FromValue, ToValue, SecondTime, OnCompleted, null); }
public static void CreateSplineAnimation(FrameworkElement Item, DependencyProperty dp, double FromValue, double ToValue, double SecondTime, SetExtentAnimationTimelineDelegate SetExtentValue) { CuxTransformAnimationUsingKeyFrames <T> .CreateSplineAnimation(Item, dp, FromValue, ToValue, SecondTime, null, SetExtentValue); }
public static void CreateDiscreteAnimation(FrameworkElement Item, DependencyProperty dp, double FromValue, double ToValue, double SecondTime) { CuxTransformAnimationUsingKeyFrames <T> .CreateDiscreteAnimation(Item, dp, FromValue, ToValue, SecondTime, null, null); }