Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 2.65 KB

File metadata and controls

51 lines (32 loc) · 2.65 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.Animation.CubicEase
winrt class

Windows.UI.Xaml.Media.Animation.CubicEase

-description

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

-xaml-syntax

<CubicEase .../>

-remarks

QuarticEase has the same behavior as does a PowerEase with Power value of 3. When EasingMode is EaseIn (the default), this easing function starts slow, remains fairly slow for most of the duration, and accelerates rapidly 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

This XAML example applies a CubicEase easing function to a DoubleAnimation to create a decelerating animation.

[!code-xamlCubicEase]

[!code-csharpCubicEase_code]

[!code-vbCubicEase_code]

-see-also

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