Class StandardEasingCalculator
Provides standard easing function implementations for smooth animation transitions. Supports various easing types including linear, quadratic, cubic, and bounce effects.
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class StandardEasingCalculator : EasingCalculator
Constructors
StandardEasingCalculator()
Initializes a new instance of the StandardEasingCalculator class.
Declaration
public StandardEasingCalculator()
StandardEasingCalculator(RadEasingType)
Initializes a new instance of the StandardEasingCalculator class with the specified easing type.
Declaration
public StandardEasingCalculator(RadEasingType easingType)
Parameters
RadEasingType
easingType
The type of easing function to use. |
Properties
EasingType
Gets or sets the type of easing function to apply.
Declaration
public RadEasingType EasingType { get; set; }
Property Value
RadEasingType
The easing type that determines the animation curve. |
Methods
CalculateCurrentValue(Double, Double, Int32, Int32)
Declaration
public override 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
|
Overrides
CalculateCurrentValue(Int32, Int32, Int32, Int32)
Declaration
public override 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
|
Overrides
CalculateCurrentValue(Single, Single, Int32, Int32)
Declaration
public override 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
|