Search Results for

    Show / Hide Table of Contents

    Class Animation

    Inheritance
    object
    Animation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Animations
    Assembly: Mapsui.dll
    Syntax
    public static class Animation

    Methods

    | Edit this page View Source

    Start<T>(AnimationEntry<T>, long)

    List of all active animations

    Declaration
    public static void Start<T>(AnimationEntry<T> entry, long duration)
    Parameters
    Type Name Description
    AnimationEntry<T> entry

    AnimationEntry to start

    long duration

    Duration im ms for the given AnimationEntry

    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Start<T>(IEnumerable<AnimationEntry<T>>, long)

    Start a list of AnimationEntrys

    Declaration
    public static void Start<T>(IEnumerable<AnimationEntry<T>> entries, long duration)
    Parameters
    Type Name Description
    IEnumerable<AnimationEntry<T>> entries

    List of AnimationEntry to start

    long duration

    Duration im ms for the given AnimationEntry

    Type Parameters
    Name Description
    T
    Remarks

    All AnimationEntries are started at the same time.

    | Edit this page View Source

    Stop<T>(T, AnimationEntry<T>, bool)

    Stop a given AnimationEntry

    Declaration
    public static AnimationResult<T> Stop<T>(T target, AnimationEntry<T> entry, bool callFinal = true)
    Parameters
    Type Name Description
    T target
    AnimationEntry<T> entry

    AnimationEntry to stop

    bool callFinal

    Final function is called, if callFinal is true

    Returns
    Type Description
    AnimationResult<T>
    Type Parameters
    Name Description
    T
    | Edit this page View Source

    Stop<T>(T, IEnumerable<AnimationEntry<T>>, bool)

    Stop all AnimationEntrys in a given list

    Declaration
    public static void Stop<T>(T target, IEnumerable<AnimationEntry<T>> entries, bool callFinal = true)
    Parameters
    Type Name Description
    T target
    IEnumerable<AnimationEntry<T>> entries
    bool callFinal

    Final function is called, if callFinal is true

    Type Parameters
    Name Description
    T
    | Edit this page View Source

    UpdateAnimations<T>(T, IEnumerable<AnimationEntry<T>>)

    Update all AnimationEntrys and check, if a redraw is needed

    Declaration
    public static AnimationResult<T> UpdateAnimations<T>(T target, IEnumerable<AnimationEntry<T>> entries)
    Parameters
    Type Name Description
    T target
    IEnumerable<AnimationEntry<T>> entries
    Returns
    Type Description
    AnimationResult<T>

    True, if a redraw of the screen is needed

    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX