Animation.Parse(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses an animation from a Lottie JSON string.
public static SkiaSharp.Skottie.Animation? Parse(string json);
Parameters
- json
- String
A string containing the Lottie animation JSON.
Returns
A new Animation instance, or null if the JSON could not be parsed.
Remarks
Use the Builder helper for more options and control over the loading process.