Class EasingCalculator
Represents a numerical value calculator. It is used internally by StyleSheet system to calculate the value changes when animating RadElement properties.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public abstract class EasingCalculator
Constructors
EasingCalculator()
Declaration
protected EasingCalculator()
Methods
CalculateCurrentValue(Double, Double, Int32, Int32)
Caclulates the current value of a property from the initial value, end value, current frame, and the number of frames.
Declaration
public abstract double CalculateCurrentValue(double initialValue, double endValue, int currentFrame, int numFrames)
Parameters
System.Double
initialValue
|
System.Double
endValue
|
System.Int32
currentFrame
|
System.Int32
numFrames
|
Returns
System.Double
|
CalculateCurrentValue(Int32, Int32, Int32, Int32)
Calculates the current value of some property from the initial value, end value, current frame, and the numbers of frames.
Declaration
public abstract int CalculateCurrentValue(int initialValue, int endValue, int currentFrame, int numFrames)
Parameters
System.Int32
initialValue
|
System.Int32
endValue
|
System.Int32
currentFrame
|
System.Int32
numFrames
|
Returns
System.Int32
|
CalculateCurrentValue(Single, Single, Int32, Int32)
Calculates the current value of some property from the initial value, end value, current frame, and the number of frames.
Declaration
public abstract float CalculateCurrentValue(float initialValue, float endValue, int currentFrame, int numFrames)
Parameters
System.Single
initialValue
|
System.Single
endValue
|
System.Int32
currentFrame
|
System.Int32
numFrames
|
Returns
System.Single
|