Class AnimationValueCalculator
Calculates values used in each frame of property animation. Also supports converting animation step values to and from a string for theme serialization.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public abstract class AnimationValueCalculator
Constructors
AnimationValueCalculator()
Declaration
protected AnimationValueCalculator()
Properties
AssociatedType
Declaration
public abstract Type AssociatedType { get; }
Property Value
System.
|
Methods
CalculateAnimatedValue(Object, Object, Object, Object, Int32, Int32, EasingCalculator)
Calculates the animated value from start value, end value, current value, current frame, total number of frames and the specified animation calulator.
Declaration
public abstract object CalculateAnimatedValue(object startValue, object endValue, object currValue, object step, int currFrameNum, int totalFrameNum, EasingCalculator calc)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
System.
|
Easing
|
Returns
System.
|
CalculateAnimationEndValue(Object, Object, Int32)
Calculates the animation end value from start value, step, and the total number of frames.
Declaration
public abstract object CalculateAnimationEndValue(object animationStartValue, object step, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateAnimationStep(Object, Object, Int32)
Calculates the animation step from start value, end value, and the total number of frames.
Declaration
public abstract object CalculateAnimationStep(object animationStartValue, object animationEndValue, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateDoubleEndValue(Double, Double, Int32)
Declaration
protected double CalculateDoubleEndValue(double animationStartValue, double animationStep, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateDoubleEndValue(Double, Double, Int32, Double, Double)
Declaration
protected double CalculateDoubleEndValue(double animationStartValue, double animationStep, int numFrames, double minValue, double maxValue)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
CalculateDoubleStep(Double, Double, Double, Double, Double)
Declaration
protected double CalculateDoubleStep(double animationStartValue, double animationEndValue, double numFrames, double minValue, double maxValue)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
CalculateDoubleStep(Double, Double, Int32)
Declaration
protected double CalculateDoubleStep(double animationStartValue, double animationEndValue, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateFloatEndValue(Single, Single, Int32)
Declaration
protected float CalculateFloatEndValue(float animationStartValue, float animationStep, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateFloatEndValue(Single, Single, Int32, Single, Single)
Declaration
protected float CalculateFloatEndValue(float animationStartValue, float animationStep, int numFrames, float minValue, float maxValue)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
CalculateFloatStep(Single, Single, Int32)
Declaration
protected float CalculateFloatStep(float animationStartValue, float animationEndValue, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateFloatStep(Single, Single, Single, Single, Single)
Declaration
protected float CalculateFloatStep(float animationStartValue, float animationEndValue, float numFrames, float minValue, float maxValue)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
CalculateIntEndValue(Int32, Int32, Int32)
Declaration
protected int CalculateIntEndValue(int animationStartValue, int animationStep, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateIntEndValue(Int32, Int32, Int32, Int32, Int32)
Declaration
protected int CalculateIntEndValue(int animationStartValue, int animationStep, int numFrames, int minValue, int maxValue)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
CalculateIntStep(Int32, Int32, Int32)
Declaration
protected int CalculateIntStep(int animationStartValue, int animationEndValue, int numFrames)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
CalculateIntStep(Int32, Int32, Int32, Int32, Int32)
Declaration
protected int CalculateIntStep(int animationStartValue, int animationEndValue, int numFrames, int minValue, int maxValue)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
CalculateInversedStep(Object)
Declaration
public abstract object CalculateInversedStep(object step)
Parameters
System.
|
Returns
System.
|
ConvertAnimationStepToString(Object)
Retrieves the animation step as a string value.
Declaration
public virtual string ConvertAnimationStepToString(object value)
Parameters
System.
|
Returns
System.
|
ConvertToAnimationStepFromString(String)
Converts a string to an animation value.
Declaration
public virtual object ConvertToAnimationStepFromString(string value)
Parameters
System.
|
Returns
System.
|