ClassAnimationValueIntCalculator
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
AnimationValueIntCalculator()
Declaration
public AnimationValueIntCalculator()
Properties
AssociatedType
Gets the type associated with this calculator.
Methods
CalculateAnimatedValue(object, object, object, object, int, int, EasingCalculator)
Calculates the animated integer value for the current frame.
Declaration
public override object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
Parameters
startValue
The starting integer value.
endValue
The ending integer value.
currValue
The current integer value.
step
The animation step value.
currFrameNum
The current frame number.
totalFrameNum
The total number of frames.
calc
The easing calculator.
Returns
The calculated integer value for the current frame.
Overrides
CalculateAnimationEndValue(object, object, int)
Calculates the end integer value based on start value and animation step.
Declaration
public override object CalculateAnimationEndValue(object animationStartValue, object animationStep, int numFrames)
Parameters
animationStartValue
The starting integer value.
animationStep
The integer animation step.
numFrames
The number of animation frames.
Returns
The calculated end integer value.
Overrides
CalculateAnimationStep(object, object, int)
Calculates the animation step needed to transition between two integer values.
Declaration
public override object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)
Parameters
animationStartValue
The starting integer value.
animationEndValue
The ending integer value.
numFrames
The number of animation frames.
Returns
The calculated integer animation step.
Overrides
CalculateInversedStep(object)
Calculates the inverse of an integer animation step.