Show / Hide Table of Contents

    Class EcoreAnimator

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll
    API Level:
    preview

    EcoreAnimator is a helper class. It provides the functions to manage animations.

    public static class EcoreAnimator
    Inheritance
    Object
    EcoreAnimator

    Methods

    View Source

    AddAnimator(Func<Boolean>)

    Adds an animator to call handler at every animation tick during the main loop execution.

    Declaration
    public static IntPtr AddAnimator(Func<bool> handler)
    Parameters
    Type Name Description
    Func<Boolean> handler

    The function to call when it ticks off.

    Returns
    Type Description
    IntPtr

    A handle to the new animator.

    API Level: preview
    View Source

    GetCurrentTime()

    Gets the current system time as a floating point value in seconds.

    Declaration
    public static double GetCurrentTime()
    Returns
    Type Description
    Double

    Current system time

    API Level: preview
    View Source

    RemoveAnimator(IntPtr)

    Removes the specified animator from the animator list.

    Declaration
    public static void RemoveAnimator(IntPtr anim)
    Parameters
    Type Name Description
    IntPtr anim

    The specified animator handle.

    API Level: preview
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX