C# Class System.Windows.Media.Glitz.EasingInterpolation

An interpolation implementation that eases the linear interpolation at the start, end or both start and end of the animation.
Inheritance: TweenInterpolation
ファイルを表示 Open project: nikhilk/silverlightfx

Public Properties

Property Type Description
Default EasingInterpolation

Public Methods

Method Description
Interpolate ( double t ) : double

Protected Methods

Method Description
InterpolateBackIn ( double t, double amplitude, double suppression ) : double

Performs back interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.

InterpolateBackOut ( double t, double amplitude, double suppression ) : double

Performs back interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.

InterpolateBounceIn ( double t, int bounces, double bounciness ) : double

Performs bouncing interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.

InterpolateBounceOut ( double t, int bounces, double bounciness ) : double

Performs bouncing interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.

InterpolateElasticIn ( double t, int oscillations, double springiness ) : double

Performs elastic interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.

InterpolateElasticOut ( double t, int oscillations, double springiness ) : double

Performs elastic interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.

InterpolateExponentialIn ( double t, double power ) : double

Performs exponential interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.

InterpolateExponentialOut ( double t, double power ) : double

Performs exponential interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.

InterpolateIn ( double t ) : double

Performs the interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.

InterpolateOut ( double t ) : double

Performs the interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.

InterpolateQuadraticIn ( double t ) : double

Performs quadratic interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.

InterpolateQuadraticOut ( double t ) : double

Performs quadratic interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.

Method Details

Interpolate() public final method

public final Interpolate ( double t ) : double
t double
return double

InterpolateBackIn() protected static method

Performs back interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.
protected static InterpolateBackIn ( double t, double amplitude, double suppression ) : double
t double The current progress value based on linear interpolation.
amplitude double The relative distance of the backing.
suppression double How quickly the backing is suppressed.
return double

InterpolateBackOut() protected static method

Performs back interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.
protected static InterpolateBackOut ( double t, double amplitude, double suppression ) : double
t double The current progress value based on linear interpolation.
amplitude double The relative distance of the backing.
suppression double How quickly the backing is suppressed.
return double

InterpolateBounceIn() protected static method

Performs bouncing interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.
protected static InterpolateBounceIn ( double t, int bounces, double bounciness ) : double
t double The current progress value based on linear interpolation.
bounces int The number of bounces to introduce.
bounciness double Determines the height of the bounces.
return double

InterpolateBounceOut() protected static method

Performs bouncing interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.
protected static InterpolateBounceOut ( double t, int bounces, double bounciness ) : double
t double The current progress value based on linear interpolation.
bounces int The number of bounces to introduce.
bounciness double Determines the height of the bounces.
return double

InterpolateElasticIn() protected static method

Performs elastic interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.
protected static InterpolateElasticIn ( double t, int oscillations, double springiness ) : double
t double The current progress value based on linear interpolation.
oscillations int The number of oscillations to introduce.
springiness double Determines the strength of the oscillations.
return double

InterpolateElasticOut() protected static method

Performs elastic interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.
protected static InterpolateElasticOut ( double t, int oscillations, double springiness ) : double
t double The current progress value based on linear interpolation.
oscillations int The number of oscillations to introduce.
springiness double Determines the strength of the oscillations.
return double

InterpolateExponentialIn() protected static method

Performs exponential interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.
protected static InterpolateExponentialIn ( double t, double power ) : double
t double The current progress value based on linear interpolation.
power double The amount of exponential growth.
return double

InterpolateExponentialOut() protected static method

Performs exponential interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.
protected static InterpolateExponentialOut ( double t, double power ) : double
t double The current progress value based on linear interpolation.
power double The amount of exponential decay.
return double

InterpolateIn() protected abstract method

Performs the interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.
protected abstract InterpolateIn ( double t ) : double
t double The current progress value based on linear interpolation.
return double

InterpolateOut() protected abstract method

Performs the interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.
protected abstract InterpolateOut ( double t ) : double
t double The current progress value based on linear interpolation.
return double

InterpolateQuadraticIn() protected static method

Performs quadratic interpolation when the selected easing mode is set to EaseIn or during the first half of an EaseInOut interpolation.
protected static InterpolateQuadraticIn ( double t ) : double
t double The current progress value based on linear interpolation.
return double

InterpolateQuadraticOut() protected static method

Performs quadratic interpolation when the selected easing mode is set to EaseOut or during the second half of an EaseInOut interpolation.
protected static InterpolateQuadraticOut ( double t ) : double
t double The current progress value based on linear interpolation.
return double

Property Details

Default public_oe static_oe property

A default EasingInterpolation that accelerates the animation at the start and decelerates the animation at the end.
public static EasingInterpolation,System.Windows.Media.Glitz Default
return EasingInterpolation