Click or drag to resize

ZoomPanelQuinticAnimator Class

ZoomPanelQuinticAnimator is a ZoomPanel animator that animates ZoomPanel and add some in and out easing using quintic function.
Inheritance Hierarchy

Namespace:  Ab2d.Animations
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public class ZoomPanelQuinticAnimator : BaseZoomPanelAnimator

The ZoomPanelQuinticAnimator type exposes the following members.

Constructors
  NameDescription
Public methodZoomPanelQuinticAnimator
Constructor.
Top
Methods
  NameDescription
Public methodCalculateValue
Gets a value that is calculated from startValue, endValue and progress using quintic function.
(Overrides BaseZoomPanelAnimatorCalculateValue(Double, Double, Double).)
Public methodSetParameters
Sets the parameters for the quintic function.
Top
Remarks

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

See Also