File: Core\CSharp\System\Windows\Media\Animation\IEasingFunction.cs
Project: wpf\src\PresentationCore.csproj (PresentationCore)
//------------------------------------------------------------------------------
//  Copyright (c) Microsoft Corporation, 2008
//
//  File: IEasingFunction.cs
//------------------------------------------------------------------------------
 
namespace System.Windows.Media.Animation
{
    /// <summary>
    ///     This interface represents a transformation of normalizedTime.  Animations use it to 
    ///     transform their progress before computing an interpolation.  Classes that implement
    ///     this interface can control the pace at which an animation is performed.
    /// </summary>
    public interface IEasingFunction
    {
        /// <summary>
        ///     Transforms normalized time to control the pace of an animation.
        /// </summary>
        /// <param name="normalizedTime">normalized time (progress) of the animation</param>
        /// <returns>transformed progress</returns>
        double Ease(double normalizedTime);
    }
}