Easing​Function​Base Easing​Function​Base Easing​Function​Base Easing​Function​Base Class

Definition

Provides the base class for all the easing functions.

public : class EasingFunctionBase : DependencyObject, IEasingFunctionBasepublic class EasingFunctionBase : DependencyObject, IEasingFunctionBasePublic Class EasingFunctionBase Inherits DependencyObject Implements IEasingFunctionBase// This API is not available in Javascript.
Inheritance
EasingFunctionBaseEasingFunctionBaseEasingFunctionBaseEasingFunctionBase
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Remarks

EasingFunctionBase is not extensible. It provides base class support for the Windows Runtime easing function classes, for example ExponentialEase. When you call Ease on a Windows Runtime easing function class, you get the specific easing behavior of that easing function class. There may also be properties of the class other than EasingMode that modify the Ease behavior.

Easing functions allow you to apply custom mathematical formulas to your animations. Mathematical operations are often useful to produce animations that simulate real-world physics in a 2-D coordinate system. For example, you may want an object to realistically bounce or behave as though it were on a spring. For a list of easing functions and info on how to use them, see Key-frame animations and easing function animations.

EasingFunctionBase derived classes

EasingFunctionBase is the parent class for several immediately derived classes that implement specific easing behaviors for use in an easing key frame:

Properties

EasingMode EasingMode EasingMode EasingMode

Gets or sets a value that specifies how the animation interpolates.

public : EasingMode EasingMode { get; set; }public EasingMode EasingMode { get; set; }Public ReadWrite Property EasingMode As EasingMode// This API is not available in Javascript.
<easingFunction EasingMode="easingMode"/>
Value
EasingMode EasingMode EasingMode EasingMode

One of the enumeration values that specifies how the animation interpolates. The default is EaseOut.

EasingModeProperty EasingModeProperty EasingModeProperty EasingModeProperty

Identifies the EasingMode dependency property.

public : static DependencyProperty EasingModeProperty { get; }public static DependencyProperty EasingModeProperty { get; }Public Static ReadOnly Property EasingModeProperty As DependencyProperty// This API is not available in Javascript.
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the EasingMode dependency property.

Methods

Ease(Double) Ease(Double) Ease(Double) Ease(Double)

Transforms normalized time to control the pace of an animation.

public : double Ease(double normalizedTime)public double Ease(Double normalizedTime)Public Function Ease(normalizedTime As Double) As double// This API is not available in Javascript.
Parameters
normalizedTime
double Double Double Double

Normalized time (progress) of the animation.

Returns
double double double double

A double that represents the transformed progress.

See Also