Editar

Partilhar via


IEasingFunction Interface

Definition

Defines the basic functionality of an easing function.

public interface class IEasingFunction
public interface IEasingFunction
type IEasingFunction = interface
Public Interface IEasingFunction
Derived

Remarks

This interface allows you to create your own easing functions by taking normalized time (a value from 0 through 1) and returning your desired value.

This interface represents a transformation of normalized time (progress). Animations use it to transform their progress. Classes that implement this interface can control the pace at which an animation is performed.

Derive from the EasingFunctionBase class to implement your own custom easing functions.

Note

The WPF implementation of easing functions is compatible with the Silverlight implementation. If you have XAML that uses easing functions in one technology, it is usable without modification in the other.

Methods

Ease(Double)

Transforms normalized time to control the pace of an animation.

Applies to

See also