@rnacanvas/draw 2.17.0 → 2.19.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 +19 -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
|
@@ -56,12 +56,31 @@ export declare class Drawing {
|
|
|
56
56
|
* Is the same as the minimum Y coordinate of the view box of the SVG document that is the drawing.
|
|
57
57
|
*/
|
|
58
58
|
get minY(): number;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the minimum Y coordinate of the view box of the SVG document that is the drawing.
|
|
61
|
+
*
|
|
62
|
+
* Also adjusts the height of the view box to maintain its maximum Y coordinate.
|
|
63
|
+
*
|
|
64
|
+
* Also maintains the vertical scaling of the drawing
|
|
65
|
+
* by adjusting the height attribute of the SVG document that is the drawing.
|
|
66
|
+
*/
|
|
67
|
+
set minY(minY: number);
|
|
59
68
|
/**
|
|
60
69
|
* The maximum Y coordinate in the coordinate system of the drawing.
|
|
61
70
|
*
|
|
62
71
|
* Is the same as the maximum Y coordinate of the view box of the SVG document that is the drawing.
|
|
63
72
|
*/
|
|
64
73
|
get maxY(): number;
|
|
74
|
+
/**
|
|
75
|
+
* Adjusts the height of the view box of the SVG document that is the drawing
|
|
76
|
+
* to change its maximum Y coordinate.
|
|
77
|
+
*
|
|
78
|
+
* Maintains view box minimum Y coordinate.
|
|
79
|
+
*
|
|
80
|
+
* Also maintains the vertical scaling of the drawing
|
|
81
|
+
* by adjusting the height attribute of the SVG document that is the drawing.
|
|
82
|
+
*/
|
|
83
|
+
set maxY(maxY: number);
|
|
65
84
|
/**
|
|
66
85
|
* The width of the drawing in the coordinate system of the drawing
|
|
67
86
|
* (i.e., the width of the view box 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":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