Edit

FileResourceProvider Class

Definition

A resource provider that loads resources from a directory on the file system.

public sealed class FileResourceProvider : SkiaSharp.Resources.ResourceProvider
Inheritance

Remarks

Use this provider to load Lottie animation assets (images, fonts, nested animations) from a local directory.

Constructors

Name Description
FileResourceProvider(String, Boolean)

Creates a new file resource provider with the specified base directory.

Methods

Name Description
Load(String, String)

Loads a generic resource specified by path and name, and returns it as data.

(Inherited from ResourceProvider)
Load(String)

Loads a generic resource by name and returns it as data.

(Inherited from ResourceProvider)

Applies to