Class LottieFrameInfo
Definition
- Namespace:
- Tizen.NUI.BaseComponents
- Assembly:
- Tizen.NUI.dll
A class containing frame informations for a LottieAnimationView.
public class LottieFrameInfo : ICloneable
- Inheritance
-
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
View Source
StartFrame
The start frame of the lottie animation.
Declaration
public int StartFrame { get; }
Property Value
Methods
View Source
Clone()
Declaration
Returns
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
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
View Source
IsStillImage()
Inhouse API.
Whether this LottieFrameInfo represents one frame or more.
Declaration
public bool IsStillImage()
Returns
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
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
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
Extension Methods