/// <summary> /// Constructs this struct with the from and to properties /// </summary> /// <param name="easingFunction">The easing algorithm</param> /// <param name="duration">The total duration to complete this animation in milliseconds</param> public DoubleAnimation(double from, double to, EasingFunction easingFunction, double duration) : this(from, to, easingFunction, duration, null) { }
/// <summary> /// Constructs this struct with the from and to properties /// </summary> /// <param name="from">The starting position for a given value type</param> /// <param name="to">The end position for a given value type</param> /// <param name="frameRate">The internal timer elapsed delay</param> /// <param name="easingFunction">The easing algorithm</param> /// <param name="duration">The total duration to complete this animation</param> public DoubleAnimation(double from, double to, EasingFunction easingFunction, double duration, uint?frameRate) : base(from, to, easingFunction, duration, frameRate) { }
/// <summary> /// Constructs this struct with the from and to properties /// </summary> /// <param name="easingFunction">The easing algorithm</param> /// <param name="duration">The total duration to complete this animation in milliseconds</param> public StructAnimationBase(T from, T to, EasingFunction easingFunction, double duration) : this(from, to, easingFunction, duration, null) { this.From = from; this.To = to; }