@rive-app/canvas-single 2.23.2 → 2.23.4
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.
- package/package.json +1 -1
- package/rive.d.ts +4 -4
- package/rive.js +16 -14
- package/rive.js.map +1 -1
- package/rive_advanced.mjs.d.ts +2 -2
package/package.json
CHANGED
package/rive.d.ts
CHANGED
|
@@ -663,26 +663,26 @@ export declare class Rive {
|
|
|
663
663
|
/**
|
|
664
664
|
* The width of the artboard.
|
|
665
665
|
*
|
|
666
|
-
* This will return
|
|
666
|
+
* This will return 0 if the artboard is not loaded yet and a custom
|
|
667
667
|
* width has not been set.
|
|
668
668
|
*
|
|
669
669
|
* Do not set this value manually when using {@link resizeDrawingSurfaceToCanvas}
|
|
670
670
|
* with a {@link Layout.fit} of {@link Fit.Layout}, as the artboard width is
|
|
671
671
|
* automatically set.
|
|
672
672
|
*/
|
|
673
|
-
get artboardWidth(): number
|
|
673
|
+
get artboardWidth(): number;
|
|
674
674
|
set artboardWidth(value: number);
|
|
675
675
|
/**
|
|
676
676
|
* The height of the artboard.
|
|
677
677
|
*
|
|
678
|
-
* This will return
|
|
678
|
+
* This will return 0 if the artboard is not loaded yet and a custom
|
|
679
679
|
* height has not been set.
|
|
680
680
|
*
|
|
681
681
|
* Do not set this value manually when using {@link resizeDrawingSurfaceToCanvas}
|
|
682
682
|
* with a {@link Layout.fit} of {@link Fit.Layout}, as the artboard height is
|
|
683
683
|
* automatically set.
|
|
684
684
|
*/
|
|
685
|
-
get artboardHeight(): number
|
|
685
|
+
get artboardHeight(): number;
|
|
686
686
|
set artboardHeight(value: number);
|
|
687
687
|
/**
|
|
688
688
|
* Reset the artboard size to its original values.
|