PointAnimation.EasingFunction Property

Definition

Gets or sets the easing function you are applying to the animation.

public:
 property EasingFunctionBase ^ EasingFunction { EasingFunctionBase ^ get(); void set(EasingFunctionBase ^ value); };
EasingFunctionBase EasingFunction();

void EasingFunction(EasingFunctionBase value);
public EasingFunctionBase EasingFunction { get; set; }
var easingFunctionBase = pointAnimation.easingFunction;
pointAnimation.easingFunction = easingFunctionBase;
Public Property EasingFunction As EasingFunctionBase
<PointAnimation>
  <PointAnimation.EasingFunction>
    singleEasingFunction
  </PointAnimation.EasingFunction>
</PointAnimation>

Property Value

The easing function you are applying to the animation. The default is null.

Remarks

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.

Applies to

See also