@rive-app/canvas
Advanced tools
Comparing version 1.0.21 to 1.0.22
{ | ||
"name": "@rive-app/canvas", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "Rive's canvas based web api.", | ||
@@ -5,0 +5,0 @@ "main": "rive.js", |
@@ -318,2 +318,9 @@ import * as rc from './rive_advanced.mjs'; | ||
resizeToCanvas(): void; | ||
/** | ||
* Accounts for devicePixelRatio as a multiplier to render the size of the canvas drawing surface. | ||
* Uses the size of the backing canvas to set new width/height attributes. Need to re-render | ||
* and resize the layout to match the new drawing surface afterwards. Useful function for consumers | ||
* to include in a window resize listener | ||
*/ | ||
resizeDrawingSurfaceToCanvas(): void; | ||
get source(): string; | ||
@@ -320,0 +327,0 @@ /** |
Sorry, the diff of this file is too big to display
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
423825
2540