Provides floating-point value animation calculations with precise interpolation.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class AnimationValueFloatCalculator : AnimationValueCalculator
Inheritance: objectAnimationValueCalculatorAnimationValueFloatCalculator
Inherited Members
Constructors
public AnimationValueFloatCalculator()
Properties
Gets the type associated with this calculator.
Methods
Calculates the animated float value for the current frame.
public override object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
The starting float value.
endValueobjectThe ending float value.
currValueobjectThe current float value.
stepobjectThe animation step value.
currFrameNumintThe current frame number.
totalFrameNumintThe total number of frames.
calcEasingCalculatorThe easing calculator.
Returns:The calculated float value for the current frame.
Overrides:
Calculates the end float value based on start value and animation step.
Calculates the animation step needed to transition between two float values.
public override object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)
The starting float value.
animationEndValueobjectThe ending float value.
numFramesintThe number of animation frames.
Returns:The calculated float animation step.
Overrides: