-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.Animation.CubicEase |
winrt class |
Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f (t) = t3.
<CubicEase .../>
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.
This XAML example applies a CubicEase easing function to a DoubleAnimation to create a decelerating animation.
[!code-xamlCubicEase]
[!code-csharpCubicEase_code]
[!code-vbCubicEase_code]
Storyboarded animations, Key-frame animations and easing function animations, EasingFunctionBase, PowerEase, BackEase, BounceEase, CircleEase, ElasticEase, ExponentialEase, QuadraticEase, QuarticEase, QuinticEase, SineEase, QuinticEase, SineEase