C# Class ComponentFactory.Quicksilver.Layout.EasingCalculation

Provides calculation of easing values using predefined easing equations.
显示文件 Open project: ComponentFactory/Quicksilver Class Usage Examples

Public Methods

Method Description
Calculate ( double t, double b, double c, double d ) : double

Find the easing value using the current easing equation.

EasingCalculation ( Easing easing ) : System

Initialize a new instance of the EasingCalculation class.

Method Details

Calculate() public method

Find the easing value using the current easing equation.
public Calculate ( double t, double b, double c, double d ) : double
t double Elapsed time.
b double Starting value.
c double Delta change from start to ending value.
d double Total duration.
return double

EasingCalculation() public method

Initialize a new instance of the EasingCalculation class.
public EasingCalculation ( Easing easing ) : System
easing Easing Initial easing algorithm.
return System