Class AnimationValueFloatCalculator
Provides floating-point value animation calculations with precise interpolation.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class AnimationValueFloatCalculator : AnimationValueCalculator
Constructors
AnimationValueFloatCalculator()
Declaration
public AnimationValueFloatCalculator()
Properties
AssociatedType
Gets the type associated with this calculator.
Declaration
public override Type AssociatedType { get; }
Property Value
System.Type
The System.Single type. |
Overrides
Methods
CalculateAnimatedValue(Object, Object, Object, Object, Int32, Int32, 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
System.Object
startValue
The starting float value. |
System.Object
endValue
The ending float value. |
System.Object
currValue
The current float value. |
System.Object
step
The animation step value. |
System.Int32
currFrameNum
The current frame number. |
System.Int32
totalFrameNum
The total number of frames. |
EasingCalculator
calc
The easing calculator. |
Returns
System.Object
The calculated float value for the current frame. |
Overrides
CalculateAnimationEndValue(Object, Object, Int32)
Calculates the end float value based on start value and animation step.
Declaration
public override object CalculateAnimationEndValue(object animationStartValue, object step, int numFrames)
Parameters
System.Object
animationStartValue
The starting float value. |
System.Object
step
The float animation step. |
System.Int32
numFrames
The number of animation frames. |
Returns
System.Object
The calculated end float value. |
Overrides
CalculateAnimationStep(Object, Object, Int32)
Calculates the animation step needed to transition between two float values.
Declaration
public override object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)
Parameters
System.Object
animationStartValue
The starting float value. |
System.Object
animationEndValue
The ending float value. |
System.Int32
numFrames
The number of animation frames. |
Returns
System.Object
The calculated float animation step. |
Overrides
CalculateInversedStep(Object)
Calculates the inverse of a float animation step.
Declaration
public override object CalculateInversedStep(object step)
Parameters
System.Object
step
The float step to invert. |
Returns
System.Object
The inverted float step. |