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