Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 2.11 KB

easingpointkeyframe.md

File metadata and controls

34 lines (22 loc) · 2.11 KB
-api-id -api-type
T:Microsoft.UI.Xaml.Media.Animation.EasingPointKeyFrame
winrt class

Microsoft.UI.Xaml.Media.Animation.EasingPointKeyFrame

-description

Associates an easing function with a PointAnimationUsingKeyFrames key-frame animation.

-xaml-syntax

<EasingPointKeyFrame .../>

-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.

-examples

This XAML example shows how to use key frames that have easing functions associated with them to create an animation that simulates an oval going up in the air and falling back down, where it bounces to a stop.

[!code-xamlEasingFunctionPointKeyFrame]

[!code-csharpEasingFunctionPointKeyFrame_code]

-see-also

Storyboarded animations, Key-frame animations and easing function animations, XAML animation sample, PointKeyFrame, EasingPointKeyFrame, EasingDoubleKeyFrame, KeyTime, Value