Delegate AnimationFunction
Function that transforms the property values. It takes the animated object, start value, end value, easing function (the Easing), current time, duration, and animation state. It should modify one or more properties on the object.
Namespace: Northwoods.Go
Assembly: Northwoods.GoDiagram.Avalonia.dll
Syntax
public delegate void AnimationFunction(object obj, object startValue, object endValue, EasingFunction easing, double currentTime, int duration, Animation animation)
Parameters
Type | Name | Description |
---|---|---|
object | obj | the animated object. |
object | startValue | the start value. |
object | endValue | the end value. |
EasingFunction | easing | the EasingFunction |
double | currentTime | the current time |
int | duration | the duration of the animation |
Animation | animation | the animation state |