@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.
@@ -26,7 +26,7 @@ export interface IMarkupCloud extends IMarkupObject, IMarkupColorable {
26
26
  /**
27
27
  * Returns the height of the cloud.
28
28
  */
29
- getHeigth(): number;
29
+ getHeight(): number;
30
30
  /**
31
31
  * Sets the height of the cloud.
32
32
  */
@@ -52,14 +52,14 @@ export interface IMarkupEllipseParams {
52
52
  y: number;
53
53
  };
54
54
  /**
55
- * Screen coordinates of the center point (position) of the ellipse.
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 center point (position) of the ellipse.
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 widt and
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?: {
@@ -26,7 +26,7 @@ export interface IMarkupRectangle extends IMarkupObject, IMarkupColorable {
26
26
  /**
27
27
  * Returns the height of the rectangle.
28
28
  */
29
- getHeigth(): number;
29
+ getHeight(): number;
30
30
  /**
31
31
  * Sets the height of the rectangle.
32
32
  */
@@ -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
- getHeigth(): number;
22
+ getHeight(): number;
23
23
  setHeight(h: number): void;
24
24
  getLineWidth(): number;
25
25
  setLineWidth(size: number): void;
@@ -9,7 +9,7 @@ export declare class KonvaRectangle implements IMarkupRectangle {
9
9
  y: number;
10
10
  };
11
11
  getWidth(): number;
12
- getHeigth(): number;
12
+ getHeight(): number;
13
13
  setWidth(w: number): void;
14
14
  setHeight(h: number): void;
15
15
  setPosition(x: number, y: number): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inweb/markup",
3
- "version": "26.7.1",
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.1",
30
- "@inweb/viewer-core": "~26.7.1"
29
+ "@inweb/eventemitter2": "~26.7.2",
30
+ "@inweb/viewer-core": "~26.7.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "konva": "^9.3.18"
@@ -51,7 +51,7 @@ export interface IMarkupCloud extends IMarkupObject, IMarkupColorable {
51
51
  /**
52
52
  * Returns the height of the cloud.
53
53
  */
54
- getHeigth(): number;
54
+ getHeight(): number;
55
55
 
56
56
  /**
57
57
  * Sets the height of the cloud.
@@ -79,12 +79,12 @@ export interface IMarkupEllipseParams {
79
79
  position?: { x: number; y: number };
80
80
 
81
81
  /**
82
- * Screen coordinates of the center point (position) of the ellipse.
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 center point (position) of the ellipse.
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 widt and
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 };
@@ -51,7 +51,7 @@ export interface IMarkupRectangle extends IMarkupObject, IMarkupColorable {
51
51
  /**
52
52
  * Returns the height of the rectangle.
53
53
  */
54
- getHeigth(): number;
54
+ getHeight(): number;
55
55
 
56
56
  /**
57
57
  * Sets the height of the rectangle.
@@ -289,7 +289,7 @@ export class KonvaCloud implements IMarkupCloud {
289
289
  this._ref.setAttr("wcsEnd", wcsRightLowerPoint);
290
290
  }
291
291
 
292
- getHeigth(): number {
292
+ getHeight(): number {
293
293
  return this._ref.height();
294
294
  }
295
295
 
@@ -144,7 +144,7 @@ export class KonvaRectangle implements IMarkupRectangle {
144
144
  return this._ref.width();
145
145
  }
146
146
 
147
- getHeigth(): number {
147
+ getHeight(): number {
148
148
  return this._ref.height();
149
149
  }
150
150