Abstract base class for calculating animated property values during animation sequences. Provides framework for interpolating between start and end values with easing support.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public abstract class AnimationValueCalculator
Inheritance: objectAnimationValueCalculator
Derived Classes:
Constructors
protected AnimationValueCalculator()
Properties
Gets the type associated with this animation calculator.
public abstract Type AssociatedType { get; }
The type that this calculator can animate.
Methods
Calculates the animated value for the current frame using interpolation and easing.
public abstract object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
The starting value of the animation.
endValueobjectThe ending value of the animation.
currValueobjectThe current value of the animation.
stepobjectThe animation step value.
currFrameNumintThe current frame number.
totalFrameNumintThe total number of frames.
calcEasingCalculatorThe easing calculator to apply.
Returns:The calculated animated value for the current frame.