@rive-app/webgl-single 2.23.0 → 2.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -366,6 +366,29 @@ export declare class Artboard {
366
366
  */
367
367
  get volume(): number;
368
368
  set volume(val: number);
369
+
370
+ /**
371
+ * Getter and setter for the artboard width
372
+ */
373
+ get artboardWidth(): number;
374
+ set artboardWidth(val: number);
375
+
376
+ /**
377
+ * Getter and setter for the artboard height
378
+ */
379
+ get artboardHeight(): number;
380
+ set artboardHeight(val: number);
381
+
382
+ /**
383
+ * Getter and setter used in rendering and canvas/artboard resizing
384
+ */
385
+ get devicePixelRatioUsed(): number;
386
+ set devicePixelRatioUsed(val: number);
387
+
388
+ /**
389
+ * Reset the artboard size to its original values
390
+ */
391
+ resetArtboardSize(): void;
369
392
  /**
370
393
  * Deletes the underlying instance created via the WASM. It's important to clean up this
371
394
  * instance when no longer in use