Class LottieFrameInfo

    Definition

    Namespace:
    Tizen.NUI.BaseComponents
    Assembly:
    Tizen.NUI.dll

    A class containing frame informations for a LottieAnimationView.

    public class LottieFrameInfo : ICloneable
    Inheritance
    object
    LottieFrameInfo

    Constructors

    View Source

    LottieFrameInfo(int, int)

    Creates a new instance with a playing range.

    Declaration
    public LottieFrameInfo(int startFrame, int endFrame)
    Parameters
    Type Name Description
    int startFrame
    int endFrame
    View Source

    LottieFrameInfo(int)

    Creates a new instance with a still image frame.

    Declaration
    public LottieFrameInfo(int stillImageFrame)
    Parameters
    Type Name Description
    int stillImageFrame

    Properties

    View Source

    EndFrame

    The end frame of the lottie animation.

    Declaration
    public int EndFrame { get; }
    Property Value
    Type Description
    int
    View Source

    StartFrame

    The start frame of the lottie animation.

    Declaration
    public int StartFrame { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    Clone()

    Declaration
    public object Clone()
    Returns
    Type Description
    object
    View Source

    CreateAnimationRange(int, int)

    Create LottieFrameInfo struct with animation range information

    Declaration
    public static LottieFrameInfo CreateAnimationRange(int startFrame, int endFrame)
    Parameters
    Type Name Description
    int startFrame
    int endFrame
    Returns
    Type Description
    LottieFrameInfo
    View Source

    CreateStillImage(int)

    Create LottieFrameInfo struct with still image information

    Declaration
    public static LottieFrameInfo CreateStillImage(int stillImageFrame)
    Parameters
    Type Name Description
    int stillImageFrame
    Returns
    Type Description
    LottieFrameInfo
    View Source

    IsStillImage()

    Inhouse API. Whether this LottieFrameInfo represents one frame or more.

    Declaration
    public bool IsStillImage()
    Returns
    Type Description
    bool
    View Source

    Show(LottieAnimationView, bool)

    Inhouse API. Play specified LottieAnimationView with this frame information.

    Declaration
    public void Show(LottieAnimationView lottieView, bool noPlay = false)
    Parameters
    Type Name Description
    LottieAnimationView lottieView

    The target LottieAnimationView to play.

    bool noPlay

    Whether go direct to the EndFrame. It is false by default.

    Operators

    View Source

    implicit operator LottieFrameInfo(int)

    Create a new instance from an int value.

    Declaration
    public static implicit operator LottieFrameInfo(int stillImageFrame)
    Parameters
    Type Name Description
    int stillImageFrame
    Returns
    Type Description
    LottieFrameInfo
    View Source

    implicit operator LottieFrameInfo(string)

    Create a new instance from string. Possible input : "0, 10", "10"

    Declaration
    public static implicit operator LottieFrameInfo(string pair)
    Parameters
    Type Name Description
    string pair
    Returns
    Type Description
    LottieFrameInfo
    View Source

    implicit operator LottieFrameInfo((int, int))

    Create a new instance from a pair notation.

    Declaration
    public static implicit operator LottieFrameInfo((int, int) pair)
    Parameters
    Type Name Description
    (int, int) pair
    Returns
    Type Description
    LottieFrameInfo

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX