Example #1
0
 private static DoubleAnimationUsingKeyFrames AddLinearDoubleKeyFrame(this DoubleAnimationUsingKeyFrames doubleAnimation, double seconds, double value)
 {
     doubleAnimation.AddEasingDoubleKeyFrame(TimeSpan.FromSeconds(seconds), value);
     return(doubleAnimation);
 }
Example #2
0
 private static DoubleAnimationUsingKeyFrames AddEasingDoubleKeyFrame(this DoubleAnimationUsingKeyFrames doubleAnimation, double seconds, double value, EasingFunctionBase ease = null)
 {
     doubleAnimation.AddEasingDoubleKeyFrame(TimeSpan.FromSeconds(seconds), value, ease);
     return(doubleAnimation);
 }
Example #3
0
 /// <summary>
 /// Adds an <see cref="EasingDoubleKeyFrame"/>
 /// </summary>
 public static DoubleAnimationUsingKeyFrames AddKeyFrame(this DoubleAnimationUsingKeyFrames doubleAnimation, TimeSpan keyTime, double value, EasingFunctionBase ease = null)
 {
     doubleAnimation.AddEasingDoubleKeyFrame(keyTime, value, ease);
     return(doubleAnimation);
 }