Show / Hide Table of Contents

    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 Source

    Animation(Int64)

    Declaration
    public Animation(long duration)
    Parameters
    Type Name Description
    System.Int64 duration

    Properties

    | Improve this Doc View Source

    Duration

    Duration of the whole animation cycle in milliseconds

    Declaration
    public long Duration { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    Entries

    Animations, that should be made

    Declaration
    public List<AnimationEntry> Entries { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<AnimationEntry>
    | Improve this Doc View Source

    IsRunning

    True, if animation is running

    Declaration
    public bool IsRunning { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Started

    Declaration
    public EventHandler<AnimationEventArgs> Started { get; set; }
    Property Value
    Type Description
    System.EventHandler<AnimationEventArgs>
    | Improve this Doc View Source

    Stopped

    Declaration
    public EventHandler<AnimationEventArgs> Stopped { get; set; }
    Property Value
    Type Description
    System.EventHandler<AnimationEventArgs>
    | Improve this Doc View Source

    Ticked

    Declaration
    public EventHandler<AnimationEventArgs> Ticked { get; set; }
    Property Value
    Type Description
    System.EventHandler<AnimationEventArgs>

    Methods

    | Improve this Doc View Source

    Start()

    Declaration
    public void Start()
    | Improve this Doc View Source

    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

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX