Class Animation
Inheritance
System.Object
Animation
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mapsui.Utilities
Assembly: Mapsui.dll
Syntax
public class Animation
Constructors
| Improve this Doc View SourceAnimation(Int64)
Declaration
public Animation(long duration)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | duration |
Properties
| Improve this Doc View SourceDuration
Duration of the whole animation cycle in milliseconds
Declaration
public long Duration { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Entries
Animations, that should be made
Declaration
public List<AnimationEntry> Entries { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AnimationEntry> |
IsRunning
True, if animation is running
Declaration
public bool IsRunning { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Started
Declaration
public EventHandler<AnimationEventArgs> Started { get; set; }
Property Value
Type | Description |
---|---|
System.EventHandler<AnimationEventArgs> |
Stopped
Declaration
public EventHandler<AnimationEventArgs> Stopped { get; set; }
Property Value
Type | Description |
---|---|
System.EventHandler<AnimationEventArgs> |
Ticked
Declaration
public EventHandler<AnimationEventArgs> Ticked { get; set; }
Property Value
Type | Description |
---|---|
System.EventHandler<AnimationEventArgs> |
Methods
| Improve this Doc View SourceStart()
Declaration
public void Start()
Stop(Boolean)
Stop a running animation if there is one
Declaration
public void Stop(bool gotoEnd = true)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | gotoEnd | Should final of each list entry be called |