Class EcoreTimelineAnimator
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
EcoreTimelineAnimator is a helper class, which provides the functions to manage animations.
[Obsolete("This has been deprecated in API12")]
public class EcoreTimelineAnimator
- Inheritance
-
objectEcoreTimelineAnimator
Constructors
View SourceEcoreTimelineAnimator(double, Action)
Creates and initializes a new instance of the EcoreTimelineAnimator class.
Declaration
[Obsolete("This has been deprecated in API12")]
public EcoreTimelineAnimator(double runtime, Action timelineCallback)
Parameters
Type | Name | Description |
---|---|---|
double | runtime | The time to run in seconds. |
System.Action | timelineCallback | Functions called at each time line. |
Properties
View SourceIsRunning
Gets whether the animation is running.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool IsRunning { get; }
Property Value
Type | Description |
---|---|
bool |
Position
Gets the current position of the animation.
Declaration
[Obsolete("This has been deprecated in API12")]
public double Position { get; }
Property Value
Type | Description |
---|---|
double |
Methods
View SourceFreeze()
Suspends the specified animator.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Freeze()
OnTimeline()
Callback is called when it ticks off.
Declaration
[Obsolete("This has been deprecated in API12")]
protected void OnTimeline()
Start()
Starts an animator that runs for a limited time.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Start()
Stop()
Stops an animator that is running.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Stop()
Thaw()
Restores execution of the specified animator.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Thaw()
Events
View SourceFinished
It occurs when the animator is complete.
Declaration
[Obsolete("This has been deprecated in API12")]
public event EventHandler Finished
Event Type
Type | Description |
---|---|
System.EventHandler |