ClassAnimationValueCalculator
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
AnimationValueCalculator()
Declaration
protected AnimationValueCalculator()
Properties
AssociatedType
Gets the type associated with this animation calculator.
Declaration
public abstract Type AssociatedType { get; }
Property Value
The type that this calculator can animate.
Methods
CalculateAnimatedValue(object, object, object, object, int, int, EasingCalculator)
Calculates the animated value for the current frame using interpolation and easing.
Declaration
public abstract object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
Parameters
startValue
The starting value of the animation.
endValue
The ending value of the animation.
currValue
The current value of the animation.
step
The animation step value.
currFrameNum
The current frame number.
totalFrameNum
The total number of frames.
calc
The easing calculator to apply.
Returns
The calculated animated value for the current frame.
CalculateAnimationEndValue(object, object, int)
Calculates the animation end value from start value, step, and the total number of frames.
CalculateAnimationStep(object, object, int)
Calculates the animation step from start value, end value, and the total number of frames.
CalculateInversedStep(object)
Calculates the inverse of the specified animation step.
ConvertAnimationStepToString(object)
Converts an animation step value to its string representation for serialization.
ConvertToAnimationStepFromString(string)
Converts a string to an animation value.