Class EcoreTimelineAnimator
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
EcoreTimelineAnimator is a helper class, which provides the functions to manage animations.
C#Copypublic class EcoreTimelineAnimator
- Inheritance
-
objectEcoreTimelineAnimator
Constructors
View Source
EcoreTimelineAnimator(double, Action)
Creates and initializes a new instance of the EcoreTimelineAnimator class.
Declaration
C#Copypublic 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
Declaration
C#Copypublic bool IsRunning { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Declaration
C#Copypublic double Position { get; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
Declaration
C#Copypublic void Freeze()
Declaration
C#Copyprotected void OnTimeline()
Declaration
C#Copypublic void Start()
Declaration
C#Copypublic void Stop()
Declaration
C#Copypublic void Thaw()
Events
Declaration
C#Copypublic event EventHandler Finished
Event Type
| Type | Description |
|---|---|
| System.EventHandler |