Class EcoreTimelineAnimator
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
EcoreTimelineAnimator is a helper class, which provides the functions to manage animations.
C#Copypublic class EcoreTimelineAnimator
- Inheritance
-
System.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 |
---|---|---|
System.Double | runtime | The time to run in seconds. |
System.Action | timelineCallback | Functions called at each time line. |
API Level: preview
Properties
Declaration
C#Copypublic bool IsRunning { get; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
Declaration
C#Copypublic double Position { get; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: preview
Methods
Declaration
C#Copypublic void Freeze()
API Level: preview
Declaration
C#Copyprotected void OnTimeline()
API Level: preview
Declaration
C#Copypublic void Start()
API Level: preview
Declaration
C#Copypublic void Stop()
API Level: preview
Declaration
C#Copypublic void Thaw()
API Level: preview
Events
Declaration
C#Copypublic event EventHandler Finished
Event Type
Type | Description |
---|---|
System.EventHandler |