Type parameters:
| T | Type to animate. |
Properties
Methods
Chain
#Continue this animator by appending another one with a new target value.
Chain
#Continue this animator by appending another one with a new target value.
Chain
#Continue this animator by appending another one with a new target value. Local duration is retained.
Parameters:
| target (T) | New target value. |
| motion (Motion) | New motion type. |
Returns: Chained animator.
Chain
#Continue this animator by appending another one with a new target value.
Chain
#Continue this animator by appending another one with a new target value. Local duration and motion properties are retained.
Parameters:
| target (T) | New target value. |
Returns: Chained animator.
CreateFinished
#Create a new constant animation.
Parameters:
| value (T) | Constant value. |
| interpolator (Interpolate<T>) | Interpolator. |
Returns: Animation.
CreateFinished
#public static Animated<T> CreateFinished(T value, TimeSpan duration, Motion motion, Interpolate<T> interpolator)
Create a new constant animation.
Parameters:
| value (T) | Constant value. |
| duration (TimeSpan) | Duration associated with this animation. The duration only becomes relevant when this animator is chained. |
| motion (Motion) | Motion associated with this animation. The motion only becomes relevant when this animator is chained. |
| interpolator (Interpolate<T>) | Interpolator. |
CreateUnfinished
#public static Animated<T> CreateUnfinished(T value0, T value1, DateTime time0, DateTime time1, Motion motion, Interpolate<T> interpolator)
Create a new constant animation.
Parameters:
| value0 (T) | Initial value. |
| value1 (T) | Final value. |
| time0 (DateTime) | Start time for animation. |
| time1 (DateTime) | End time for animation, may not be earlier than the start time. |
| motion (Motion) | Motion associated with this animation. |
| interpolator (Interpolate<T>) | Interpolator. |
CreateUnfinished
#public static Animated<T> CreateUnfinished(T value0, T value1, TimeSpan duration, Motion motion, Interpolate<T> interpolator)
Create a new progressive animation, starting now.
Parameters:
| value0 (T) | Initial value. |
| value1 (T) | Final value. |
| duration (TimeSpan) | Duration of animation. |
| motion (Motion) | Motion associated with this animator. |
| interpolator (Interpolate<T>) | Interpolator. |
Returns: Animation.
Evaluate
#Evaluate the animation.
This method should be called by graphics context, you typically never call it yourself.
Remarks: This method should only be called from the Graphics context.
Parameters:
| time (DateTime) | Time to evaluate at. |
Returns: Evaluated value.
Operators
| Operation | Result | Description | ||
|---|---|---|---|---|
| Animated<T> | + | (T value, Motion motion, Duration duration) | Animated<T> | Chain an animator. |
| Animated<T> | + | T | Animated<T> | Chain an animator. |