Example #1
0
 private static DoubleAnimationUsingKeyFrames AddSplineDoubleKeyFrame(this DoubleAnimationUsingKeyFrames doubleAnimation, double seconds, double value, KeySpline spline = null)
 {
     doubleAnimation.AddSplineDoubleKeyFrame(TimeSpan.FromSeconds(seconds), value, spline);
     return(doubleAnimation);
 }
Example #2
0
 /// <summary>
 /// Adds a <see cref="SplineDoubleKeyFrame"/>
 /// </summary>
 public static DoubleAnimationUsingKeyFrames AddKeyFrame(this DoubleAnimationUsingKeyFrames doubleAnimation, TimeSpan keyTime, double value, KeySpline spline)
 {
     doubleAnimation.AddSplineDoubleKeyFrame(keyTime, value, spline);
     return(doubleAnimation);
 }