@inweb/markup 26.7.1 → 26.7.2
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/markup.js +2 -2
- package/dist/markup.js.map +1 -1
- package/dist/markup.min.js +1 -1
- package/dist/markup.module.js +2 -2
- package/dist/markup.module.js.map +1 -1
- package/lib/markup/IMarkupCloud.d.ts +1 -1
- package/lib/markup/IMarkupEllipse.d.ts +2 -2
- package/lib/markup/IMarkupImage.d.ts +1 -1
- package/lib/markup/IMarkupRectangle.d.ts +1 -1
- package/lib/markup/Konva/KonvaCloud.d.ts +1 -1
- package/lib/markup/Konva/KonvaRectangle.d.ts +1 -1
- package/package.json +3 -3
- package/src/markup/IMarkupCloud.ts +1 -1
- package/src/markup/IMarkupEllipse.ts +2 -2
- package/src/markup/IMarkupImage.ts +1 -1
- package/src/markup/IMarkupRectangle.ts +1 -1
- package/src/markup/Konva/KonvaCloud.ts +1 -1
- package/src/markup/Konva/KonvaRectangle.ts +1 -1
|
@@ -52,14 +52,14 @@ export interface IMarkupEllipseParams {
|
|
|
52
52
|
y: number;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
|
-
* Screen coordinates of the
|
|
55
|
+
* Screen coordinates of the point - X radius of the ellipse.
|
|
56
56
|
*/
|
|
57
57
|
position2?: {
|
|
58
58
|
x: number;
|
|
59
59
|
y: number;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
|
-
* Screen coordinates of the
|
|
62
|
+
* Screen coordinates of the point - Y radius of the ellipse.
|
|
63
63
|
*/
|
|
64
64
|
position3?: {
|
|
65
65
|
x: number;
|
|
@@ -57,7 +57,7 @@ export interface IMarkupImageParams {
|
|
|
57
57
|
y: number;
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
|
-
* Screen coordinates of the bottom-right point (position) of the image. Specify 0 to set
|
|
60
|
+
* Screen coordinates of the bottom-right point (position) of the image. Specify 0 to set width and
|
|
61
61
|
* height of the source image.
|
|
62
62
|
*/
|
|
63
63
|
position2?: {
|
|
@@ -19,7 +19,7 @@ export declare class KonvaCloud implements IMarkupCloud {
|
|
|
19
19
|
setPosition(x: number, y: number): void;
|
|
20
20
|
getWidth(): number;
|
|
21
21
|
setWidth(w: number): void;
|
|
22
|
-
|
|
22
|
+
getHeight(): number;
|
|
23
23
|
setHeight(h: number): void;
|
|
24
24
|
getLineWidth(): number;
|
|
25
25
|
setLineWidth(size: number): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/markup",
|
|
3
|
-
"version": "26.7.
|
|
3
|
+
"version": "26.7.2",
|
|
4
4
|
"description": "JavaScript 2D markups",
|
|
5
5
|
"homepage": "https://cloud.opendesign.com/docs/index.html",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"docs": "typedoc"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@inweb/eventemitter2": "~26.7.
|
|
30
|
-
"@inweb/viewer-core": "~26.7.
|
|
29
|
+
"@inweb/eventemitter2": "~26.7.2",
|
|
30
|
+
"@inweb/viewer-core": "~26.7.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"konva": "^9.3.18"
|
|
@@ -79,12 +79,12 @@ export interface IMarkupEllipseParams {
|
|
|
79
79
|
position?: { x: number; y: number };
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Screen coordinates of the
|
|
82
|
+
* Screen coordinates of the point - X radius of the ellipse.
|
|
83
83
|
*/
|
|
84
84
|
position2?: { x: number; y: number };
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* Screen coordinates of the
|
|
87
|
+
* Screen coordinates of the point - Y radius of the ellipse.
|
|
88
88
|
*/
|
|
89
89
|
position3?: { x: number; y: number };
|
|
90
90
|
|
|
@@ -84,7 +84,7 @@ export interface IMarkupImageParams {
|
|
|
84
84
|
position?: { x: number; y: number };
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* Screen coordinates of the bottom-right point (position) of the image. Specify 0 to set
|
|
87
|
+
* Screen coordinates of the bottom-right point (position) of the image. Specify 0 to set width and
|
|
88
88
|
* height of the source image.
|
|
89
89
|
*/
|
|
90
90
|
position2?: { x: number; y: number };
|