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