Example #1
0
        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);
        }
Example #2
0
 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);
 }
Example #3
0
 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);
 }
Example #4
0
 public static void CreateDiscreteAnimation(FrameworkElement Item, DependencyProperty dp, double FromValue, double ToValue, double SecondTime)
 {
     CuxTransformAnimationUsingKeyFrames <T> .CreateDiscreteAnimation(Item, dp, FromValue, ToValue, SecondTime, null, null);
 }