Edit

Animation.Parse(String) Method

Definition

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.

Applies to