@rnacanvas/draw 2.10.1 → 2.12.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/dist/Drawing.d.ts +12 -0
- package/dist/Drawing.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/Drawing.d.ts
CHANGED
|
@@ -58,6 +58,18 @@ export declare class Drawing {
|
|
|
58
58
|
* Note that this is different from the height attribute of the SVG document that is the drawing.
|
|
59
59
|
*/
|
|
60
60
|
get height(): number;
|
|
61
|
+
/**
|
|
62
|
+
* The horizontal scaling factor of the drawing
|
|
63
|
+
* (as determined by the width and view box width attributes of the SVG document that is the drawing).
|
|
64
|
+
*/
|
|
65
|
+
get horizontalScaling(): number;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the horizontal scaling of the drawing
|
|
68
|
+
* by adjusting the width attribute of the SVG document that is the drawing.
|
|
69
|
+
*
|
|
70
|
+
* Does not modify the view box of the drawing.
|
|
71
|
+
*/
|
|
72
|
+
set horizontalScaling(horizontalScaling: number);
|
|
61
73
|
/**
|
|
62
74
|
* Sets the horizontal and vertical scaling of the drawing
|
|
63
75
|
* (as determined by the view box and width and height attributes of the SVG document that is the drawing)
|
package/dist/Drawing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Drawing.d.ts","sourceRoot":"","sources":["../src/Drawing.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAE1D;;GAEG;AACH,qBAAa,OAAO;IAClB;;;;OAIG;IACH,QAAQ,CAAC,OAAO,gBAAwB;IAExC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,IAAI;IAI/B;;;;OAIG;IACH,MAAM,IAAI,IAAI;IAId;;;;OAIG;IACH,IAAI,IAAI,IAAI,M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