@rive-app/canvas-advanced-lite
Advanced tools
Comparing version 2.7.0 to 2.7.1
{ | ||
"name": "@rive-app/canvas-advanced-lite", | ||
"version": "2.7.0", | ||
"version": "2.7.1", | ||
"description": "Rive's lite low-level canvas based web api.", | ||
@@ -5,0 +5,0 @@ "main": "canvas_advanced.mjs", |
@@ -878,2 +878,6 @@ interface RiveOptions { | ||
/** | ||
* Rive class representing a FileAsset with relevant metadata fields to describe | ||
* an asset associated wtih the Rive File | ||
*/ | ||
export declare class FileAsset { | ||
@@ -884,5 +888,21 @@ name: string; | ||
isFont: boolean; | ||
cdnUuid: boolean; | ||
cdnUuid: string; | ||
} | ||
/** | ||
* Rive class extending the FileAsset that exposes a `setRenderImage()` API with a | ||
* decoded Image (via the `decodeImage()` API) to set a new Image on the Rive FileAsset | ||
*/ | ||
export declare class ImageAsset extends FileAsset { | ||
setRenderImage(image: Image): void; | ||
} | ||
/** | ||
* Rive class extending the FileAsset that exposes a `setFont()` API with a | ||
* decoded Font (via the `decodeFont()` API) to set a new Font on the Rive FileAsset | ||
*/ | ||
export declare class FontAsset extends FileAsset { | ||
setFont(font: Font): void; | ||
} | ||
export declare class FileAssetLoader {} | ||
@@ -889,0 +909,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
389895
1060