Class EcoreTimelineAnimator

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

    EcoreTimelineAnimator is a helper class, which provides the functions to manage animations.

    public class EcoreTimelineAnimator
    Inheritance
    object
    EcoreTimelineAnimator

    Constructors

    View Source

    EcoreTimelineAnimator(double, Action)

    Creates and initializes a new instance of the EcoreTimelineAnimator class.

    Declaration
    public 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

    View Source

    IsRunning

    Gets whether the animation is running.

    Declaration
    public bool IsRunning { get; }
    Property Value
    Type Description
    bool
    View Source

    Position

    Gets the current position of the animation.

    Declaration
    public double Position { get; }
    Property Value
    Type Description
    double

    Methods

    View Source

    Freeze()

    Suspends the specified animator.

    Declaration
    public void Freeze()
    View Source

    OnTimeline()

    Callback is called when it ticks off.

    Declaration
    protected void OnTimeline()
    View Source

    Start()

    Starts an animator that runs for a limited time.

    Declaration
    public void Start()
    View Source

    Stop()

    Stops an animator that is running.

    Declaration
    public void Stop()
    View Source

    Thaw()

    Restores execution of the specified animator.

    Declaration
    public void Thaw()

    Events

    View Source

    Finished

    It occurs when the animator is complete.

    Declaration
    public event EventHandler Finished
    Event Type
    Type Description
    System.EventHandler
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX