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