Provides integer value animation calculations with smooth interpolation between start and end values.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class AnimationValueIntCalculator : AnimationValueCalculator
Inheritance: objectAnimationValueCalculatorAnimationValueIntCalculator
Inherited Members
Constructors
public AnimationValueIntCalculator()
Properties
Gets the type associated with this calculator.
Methods
Calculates the animated integer 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 integer value.
endValueobjectThe ending integer value.
currValueobjectThe current integer value.
stepobjectThe animation step value.
currFrameNumintThe current frame number.
totalFrameNumintThe total number of frames.
calcEasingCalculatorThe easing calculator.
Returns:The calculated integer value for the current frame.
Overrides:
Calculates the end integer value based on start value and animation step.
public override object CalculateAnimationEndValue(object animationStartValue, object animationStep, int numFrames)
The starting integer value.
animationStepobjectThe integer animation step.
numFramesintThe number of animation frames.
Returns:The calculated end integer value.
Overrides:
Calculates the animation step needed to transition between two integer values.
public override object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)
The starting integer value.
animationEndValueobjectThe ending integer value.
numFramesintThe number of animation frames.
Returns:The calculated integer animation step.
Overrides: