Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 2.28 KB

quadraticease.md

File metadata and controls

40 lines (24 loc) · 2.28 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.Animation.QuadraticEase
winrt class

Windows.UI.Xaml.Media.Animation.QuadraticEase

-description

Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f (t) = t2

-xaml-syntax

<QuadraticEase .../>

-remarks

QuadraticEase has the same behavior as does a PowerEase with Power value of 2. When EasingMode is EaseIn (the default), this easing function starts slow, remains fairly slow until about half way through the duration, and accelerates near the end of the duration time.

An easing function can be applied to the EasingFunction properties of From/To/By animations, or to the EasingFunction properties of key-frame types used for the Easing variants of key-frame animations. For more info, see Key-frame animations and easing function animations.

-examples

The following example applies a QuadraticEase easing function to a DoubleAnimation to create a decelerating animation.

[!code-xamlQuadraticEase]

[!code-csharpQuadraticEase_code]

[!code-vbQuadraticEase_code]

-see-also

Storyboarded animations, Key-frame animations and easing function animations, PowerEase, BackEase, BounceEase, CircleEase, CubicEase, ElasticEase, ExponentialEase, QuarticEase, QuinticEase, SineEase, QuinticEase, SineEase