@rive-app/canvas-advanced
Advanced tools
Comparing version 2.23.0 to 2.23.1
{ | ||
"name": "@rive-app/canvas-advanced", | ||
"version": "2.23.0", | ||
"version": "2.23.1", | ||
"description": "Rive's lightweight low-level canvas based web api.", | ||
@@ -5,0 +5,0 @@ "main": "canvas_advanced.mjs", |
@@ -369,3 +369,26 @@ interface RiveOptions { | ||
set volume(val: number); | ||
/** | ||
* Getter and setter for the artboard width | ||
*/ | ||
get artboardWidth(): number; | ||
set artboardWidth(val: number); | ||
/** | ||
* Getter and setter for the artboard height | ||
*/ | ||
get artboardHeight(): number; | ||
set artboardHeight(val: number); | ||
/** | ||
* Getter and setter used in rendering and canvas/artboard resizing | ||
*/ | ||
get devicePixelRatioUsed(): number; | ||
set devicePixelRatioUsed(val: number); | ||
/** | ||
* Reset the artboard size to its original values | ||
*/ | ||
resetArtboardSize(): void; | ||
/** | ||
* Deletes the underlying instance created via the WASM. It's important to clean up this | ||
@@ -372,0 +395,0 @@ * instance when no longer in use |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2563368
4274