Easing Easing Class

Definition

Functions that modify values non-linearly, generally used for animations.

public class Easing
type Easing = class
Inheritance
EasingEasing

Remarks

Easing functions are applied to input values in the range [0,1]. The cubic easing functions are often considered to look most natural.

If developers wish to use their own easing functions, they should return a value of 0 for an input of 0 and a value of 1 for an input of 1 or the animation will have a jump.

The predefined Easing functions have the following forms:

MemberGraph
BounceIn

BounceOut

CubicIn

CubicInOut

CubicOut

Linear

SinIn

SinInOut

SinOut

SpringIn

SpringOut

Constructors

Easing(Func<Double,Double>) Easing(Func<Double,Double>)

Creates a new Easing object with the easingFunc function.

Fields

BounceIn BounceIn

Jumps towards, and then bounces as it settles at the final value.

BounceOut BounceOut

Leaps to final values, bounces 3 times, and settles.

CubicIn CubicIn

Starts slowly and accelerates.

CubicInOut CubicInOut

Accelerates and decelerates. Often a natural-looking choice.

CubicOut CubicOut

Starts quickly and the decelerates.

Linear Linear

Linear transformation.

SinIn SinIn

Smoothly accelerates.

SinInOut SinInOut

Accelerates in and decelerates out.

SinOut SinOut

Smoothly decelerates.

SpringIn SpringIn

Moves away and then leaps toward the final value.

SpringOut SpringOut

Overshoots and then returns.

Methods

Ease(Double) Ease(Double)

Applies the easing function to the specified value v.

Operators

Implicit(Func<Double,Double> to Easing) Implicit(Func<Double,Double> to Easing)

Converts a function into an Easing.

Extension Methods

LoadFromXaml<TXaml>(TXaml, String) LoadFromXaml<TXaml>(TXaml, String)

Returns an initialized view by loading the specified xaml.

LoadFromXaml<TXaml>(TXaml, Type) LoadFromXaml<TXaml>(TXaml, Type)

Returns a TXaml with the properties that are defined in the application manifest for callingType.

Applies to