Calculates int values for property animation.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class AnimationValueBoolCalculator : AnimationValueCalculator
Inheritance: objectAnimationValueCalculatorAnimationValueBoolCalculator
Inherited Members
Constructors
public AnimationValueBoolCalculator()
Properties
Gets the type associated with this animation calculator.
public override Type AssociatedType { get; }
The type that this calculator can animate.
Overrides:
Methods
Calculates the animated value for the current frame using interpolation and easing.
public override object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
The starting value of the animation.
endValueobjectThe ending value of the animation.
currValueobjectThe current value of the animation.
stepobjectThe animation step value.
currFrameNumintThe current frame number.
totalFrameNumintThe total number of frames.
calcEasingCalculatorThe easing calculator to apply.
Returns:The calculated animated value for the current frame.
Overrides:
Calculates the animation step from start value, end value, and the total number of frames.