FileResourceProvider Class
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.
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) |