@takumi-rs/wasm 0.49.1 → 0.51.0
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/pkg/takumi_wasm.d.ts +6 -0
- package/pkg/takumi_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/takumi_wasm.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type RenderOptions = {
|
|
|
20
20
|
height?: number,
|
|
21
21
|
/**
|
|
22
22
|
* The format of the image.
|
|
23
|
+
* @default "png"
|
|
23
24
|
*/
|
|
24
25
|
format?: "png" | "jpeg" | "webp",
|
|
25
26
|
/**
|
|
@@ -34,6 +35,11 @@ export type RenderOptions = {
|
|
|
34
35
|
* Whether to draw debug borders.
|
|
35
36
|
*/
|
|
36
37
|
drawDebugBorder?: boolean,
|
|
38
|
+
/**
|
|
39
|
+
* Defines the ratio resolution of the image to the physical pixels.
|
|
40
|
+
* @default 1.0
|
|
41
|
+
*/
|
|
42
|
+
devicePixelRatio?: number,
|
|
37
43
|
};
|
|
38
44
|
|
|
39
45
|
export type RenderAnimationOptions = {
|
package/pkg/takumi_wasm_bg.wasm
CHANGED
|
Binary file
|