ZoomPanelQuinticAnimator Class |
Namespace: Ab2d.Animations
public class ZoomPanelQuinticAnimator : BaseZoomPanelAnimator
The ZoomPanelQuinticAnimator type exposes the following members.
Name | Description | |
---|---|---|
ZoomPanelQuinticAnimator |
Constructor.
|
Name | Description | |
---|---|---|
CalculateValue |
Gets a value that is calculated from startValue, endValue and progress using quintic function.
(Overrides BaseZoomPanelAnimatorCalculateValue(Double, Double, Double).) | |
SetParameters |
Sets the parameters for the quintic function.
|
The ZoomPanelQuinticAnimator is using a quintic function to animate the ZoomPanel.
The quintic function is defined as:
f(x) = a * x5 + b * x4 + c * x3 + d * x2 + e * x
note: x5 = x * x * x * x * x
The description for quintic function can be found at: http://en.wikipedia.org/wiki/Quintic_function
The default parameter values for the quintic function are:
a = 6
b = -15
c = 10
d = e = 0
To use other parameter values use the SetParameters method.
Some examples for the parameters can be found at http://www.timotheegroleau.com/Flash/experiments/easing_function_generator.htm