C# Class NetworkVis.Tween

Inheritance: System.Windows.Media.Animation.DoubleAnimationBase
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Свойство Type Description
EquationProperty System.Windows.DependencyProperty
FromProperty System.Windows.DependencyProperty
ToProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
HandleEquationChanged void

Méthodes publiques

Méthode Description
BackEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing in: accelerating from zero velocity.

BackEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing in/out: acceleration until halfway, then deceleration.

BackEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing out: decelerating from zero velocity.

BackEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing out/in: deceleration until halfway, then acceleration.

BounceEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing in: accelerating from zero velocity.

BounceEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing in/out: acceleration until halfway, then deceleration.

BounceEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing out: decelerating from zero velocity.

BounceEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing out/in: deceleration until halfway, then acceleration.

CircEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a circular (sqrt(1-t^2)) easing in: accelerating from zero velocity.

CircEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a circular (sqrt(1-t^2)) easing in/out: acceleration until halfway, then deceleration.

CircEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a circular (sqrt(1-t^2)) easing out: decelerating from zero velocity.

CircEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a circular (sqrt(1-t^2)) easing in/out: acceleration until halfway, then deceleration.

CubicEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a cubic (t^3) easing in: accelerating from zero velocity.

CubicEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a cubic (t^3) easing in/out: acceleration until halfway, then deceleration.

CubicEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a cubic (t^3) easing out: decelerating from zero velocity.

CubicEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a cubic (t^3) easing out/in: deceleration until halfway, then acceleration.

ElasticEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for an elastic (exponentially decaying sine wave) easing in: accelerating from zero velocity.

ElasticEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for an elastic (exponentially decaying sine wave) easing in/out: acceleration until halfway, then deceleration.

ElasticEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for an elastic (exponentially decaying sine wave) easing out: decelerating from zero velocity.

ElasticEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for an elastic (exponentially decaying sine wave) easing out/in: deceleration until halfway, then acceleration.

ExpoEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for an exponential (2^t) easing in: accelerating from zero velocity.

ExpoEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for an exponential (2^t) easing in/out: acceleration until halfway, then deceleration.

ExpoEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for an exponential (2^t) easing out: decelerating from zero velocity.

ExpoEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for an exponential (2^t) easing out/in: deceleration until halfway, then acceleration.

Linear ( double t, double b, double c, double d ) : double

Easing equation function for a simple linear tweening, with no easing.

QuadEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a quadratic (t^2) easing in: accelerating from zero velocity.

QuadEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a quadratic (t^2) easing in/out: acceleration until halfway, then deceleration.

QuadEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a quadratic (t^2) easing out: decelerating from zero velocity.

QuadEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a quadratic (t^2) easing out/in: deceleration until halfway, then acceleration.

QuartEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a quartic (t^4) easing in: accelerating from zero velocity.

QuartEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a quartic (t^4) easing in/out: acceleration until halfway, then deceleration.

QuartEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a quartic (t^4) easing out: decelerating from zero velocity.

QuartEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a quartic (t^4) easing out/in: deceleration until halfway, then acceleration.

QuintEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a quintic (t^5) easing in: accelerating from zero velocity.

QuintEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a quintic (t^5) easing in/out: acceleration until halfway, then deceleration.

QuintEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a quintic (t^5) easing out: decelerating from zero velocity.

QuintEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a quintic (t^5) easing in/out: acceleration until halfway, then deceleration.

SineEaseIn ( double t, double b, double c, double d ) : double

Easing equation function for a sinusoidal (sin(t)) easing in: accelerating from zero velocity.

SineEaseInOut ( double t, double b, double c, double d ) : double

Easing equation function for a sinusoidal (sin(t)) easing in/out: acceleration until halfway, then deceleration.

SineEaseOut ( double t, double b, double c, double d ) : double

Easing equation function for a sinusoidal (sin(t)) easing out: decelerating from zero velocity.

SineEaseOutIn ( double t, double b, double c, double d ) : double

Easing equation function for a sinusoidal (sin(t)) easing in/out: deceleration until halfway, then acceleration.

Tween ( ) : System
Tween ( Equations type, double from, double to ) : System
Tween ( Equations type, double from, double to, Duration duration ) : System

Méthodes protégées

Méthode Description
CreateInstanceCore ( ) : System.Windows.Freezable
GetCurrentValueCore ( double startValue, double targetValue, System.Windows.Media.Animation.AnimationClock clock ) : double

Private Methods

Méthode Description
HandleEquationChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

BackEaseIn() public static méthode

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing in: accelerating from zero velocity.
public static BackEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BackEaseInOut() public static méthode

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing in/out: acceleration until halfway, then deceleration.
public static BackEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BackEaseOut() public static méthode

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing out: decelerating from zero velocity.
public static BackEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BackEaseOutIn() public static méthode

Easing equation function for a back (overshooting cubic easing: (s+1)*t^3 - s*t^2) easing out/in: deceleration until halfway, then acceleration.
public static BackEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BounceEaseIn() public static méthode

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing in: accelerating from zero velocity.
public static BounceEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BounceEaseInOut() public static méthode

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing in/out: acceleration until halfway, then deceleration.
public static BounceEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BounceEaseOut() public static méthode

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing out: decelerating from zero velocity.
public static BounceEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

BounceEaseOutIn() public static méthode

Easing equation function for a bounce (exponentially decaying parabolic bounce) easing out/in: deceleration until halfway, then acceleration.
public static BounceEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CircEaseIn() public static méthode

Easing equation function for a circular (sqrt(1-t^2)) easing in: accelerating from zero velocity.
public static CircEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CircEaseInOut() public static méthode

Easing equation function for a circular (sqrt(1-t^2)) easing in/out: acceleration until halfway, then deceleration.
public static CircEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CircEaseOut() public static méthode

Easing equation function for a circular (sqrt(1-t^2)) easing out: decelerating from zero velocity.
public static CircEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CircEaseOutIn() public static méthode

Easing equation function for a circular (sqrt(1-t^2)) easing in/out: acceleration until halfway, then deceleration.
public static CircEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CreateInstanceCore() protected méthode

protected CreateInstanceCore ( ) : System.Windows.Freezable
Résultat System.Windows.Freezable

CubicEaseIn() public static méthode

Easing equation function for a cubic (t^3) easing in: accelerating from zero velocity.
public static CubicEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CubicEaseInOut() public static méthode

Easing equation function for a cubic (t^3) easing in/out: acceleration until halfway, then deceleration.
public static CubicEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CubicEaseOut() public static méthode

Easing equation function for a cubic (t^3) easing out: decelerating from zero velocity.
public static CubicEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

CubicEaseOutIn() public static méthode

Easing equation function for a cubic (t^3) easing out/in: deceleration until halfway, then acceleration.
public static CubicEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ElasticEaseIn() public static méthode

Easing equation function for an elastic (exponentially decaying sine wave) easing in: accelerating from zero velocity.
public static ElasticEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ElasticEaseInOut() public static méthode

Easing equation function for an elastic (exponentially decaying sine wave) easing in/out: acceleration until halfway, then deceleration.
public static ElasticEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ElasticEaseOut() public static méthode

Easing equation function for an elastic (exponentially decaying sine wave) easing out: decelerating from zero velocity.
public static ElasticEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ElasticEaseOutIn() public static méthode

Easing equation function for an elastic (exponentially decaying sine wave) easing out/in: deceleration until halfway, then acceleration.
public static ElasticEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ExpoEaseIn() public static méthode

Easing equation function for an exponential (2^t) easing in: accelerating from zero velocity.
public static ExpoEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ExpoEaseInOut() public static méthode

Easing equation function for an exponential (2^t) easing in/out: acceleration until halfway, then deceleration.
public static ExpoEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ExpoEaseOut() public static méthode

Easing equation function for an exponential (2^t) easing out: decelerating from zero velocity.
public static ExpoEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

ExpoEaseOutIn() public static méthode

Easing equation function for an exponential (2^t) easing out/in: deceleration until halfway, then acceleration.
public static ExpoEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

GetCurrentValueCore() protected méthode

protected GetCurrentValueCore ( double startValue, double targetValue, System.Windows.Media.Animation.AnimationClock clock ) : double
startValue double
targetValue double
clock System.Windows.Media.Animation.AnimationClock
Résultat double

Linear() public static méthode

Easing equation function for a simple linear tweening, with no easing.
public static Linear ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuadEaseIn() public static méthode

Easing equation function for a quadratic (t^2) easing in: accelerating from zero velocity.
public static QuadEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuadEaseInOut() public static méthode

Easing equation function for a quadratic (t^2) easing in/out: acceleration until halfway, then deceleration.
public static QuadEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuadEaseOut() public static méthode

Easing equation function for a quadratic (t^2) easing out: decelerating from zero velocity.
public static QuadEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuadEaseOutIn() public static méthode

Easing equation function for a quadratic (t^2) easing out/in: deceleration until halfway, then acceleration.
public static QuadEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuartEaseIn() public static méthode

Easing equation function for a quartic (t^4) easing in: accelerating from zero velocity.
public static QuartEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuartEaseInOut() public static méthode

Easing equation function for a quartic (t^4) easing in/out: acceleration until halfway, then deceleration.
public static QuartEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuartEaseOut() public static méthode

Easing equation function for a quartic (t^4) easing out: decelerating from zero velocity.
public static QuartEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuartEaseOutIn() public static méthode

Easing equation function for a quartic (t^4) easing out/in: deceleration until halfway, then acceleration.
public static QuartEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuintEaseIn() public static méthode

Easing equation function for a quintic (t^5) easing in: accelerating from zero velocity.
public static QuintEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuintEaseInOut() public static méthode

Easing equation function for a quintic (t^5) easing in/out: acceleration until halfway, then deceleration.
public static QuintEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuintEaseOut() public static méthode

Easing equation function for a quintic (t^5) easing out: decelerating from zero velocity.
public static QuintEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

QuintEaseOutIn() public static méthode

Easing equation function for a quintic (t^5) easing in/out: acceleration until halfway, then deceleration.
public static QuintEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

SineEaseIn() public static méthode

Easing equation function for a sinusoidal (sin(t)) easing in: accelerating from zero velocity.
public static SineEaseIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

SineEaseInOut() public static méthode

Easing equation function for a sinusoidal (sin(t)) easing in/out: acceleration until halfway, then deceleration.
public static SineEaseInOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

SineEaseOut() public static méthode

Easing equation function for a sinusoidal (sin(t)) easing out: decelerating from zero velocity.
public static SineEaseOut ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

SineEaseOutIn() public static méthode

Easing equation function for a sinusoidal (sin(t)) easing in/out: deceleration until halfway, then acceleration.
public static SineEaseOutIn ( double t, double b, double c, double d ) : double
t double Current time in seconds.
b double Starting value.
c double Final value.
d double Duration of animation.
Résultat double

Tween() public méthode

public Tween ( ) : System
Résultat System

Tween() public méthode

public Tween ( Equations type, double from, double to ) : System
type Equations
from double
to double
Résultat System

Tween() public méthode

public Tween ( Equations type, double from, double to, Duration duration ) : System
type Equations
from double
to double
duration Duration
Résultat System

Property Details

EquationProperty public_oe static_oe property

public static DependencyProperty,System.Windows EquationProperty
Résultat System.Windows.DependencyProperty

FromProperty public_oe static_oe property

public static DependencyProperty,System.Windows FromProperty
Résultat System.Windows.DependencyProperty

ToProperty public_oe static_oe property

public static DependencyProperty,System.Windows ToProperty
Résultat System.Windows.DependencyProperty