Class PowerEase
Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = tp where p is equal to the Power property.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media.Animation
Assembly: OpenSilver.dll
Syntax
public class PowerEase : EasingFunctionBase, IDependencyObject, IEasingFunction
Fields
| Improve this Doc View SourcePowerProperty
Identifies the Power dependency property.
Declaration
public static readonly DependencyProperty PowerProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourcePower
Gets or sets the exponential power of the animation interpolation. For example, a value of 7 creates an animation interpolation curve that follows the formula f(t) = t7.
Declaration
public double Power { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The exponential power of the animation interpolation. This value must be greater or equal to 0. The default is 2. |
Methods
| Improve this Doc View SourceEaseInCore(Double)
Provides the logic portion of the easing function that you can override to produce the EaseIn mode of the custom easing function.
Declaration
protected override double EaseInCore(double normalizedTime)
Parameters
Type | Name | Description |
---|---|---|
System.Double | normalizedTime | Normalized time (progress) of the animation. |
Returns
Type | Description |
---|---|
System.Double | A double that represents the transformed progress. |