@inweb/markup 27.1.7 → 27.1.8
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 +12 -2
- package/dist/markup.js.map +1 -1
- package/dist/markup.min.js +1 -1
- package/dist/markup.module.js +12 -2
- package/dist/markup.module.js.map +1 -1
- package/lib/index.d.ts +8 -8
- package/lib/markup/Konva/KonvaMarkup.d.ts +1 -1
- package/lib/markup/Konva/{KonvaArrow.d.ts → primitives/KonvaArrow.d.ts} +2 -2
- package/lib/markup/Konva/{KonvaCloud.d.ts → primitives/KonvaCloud.d.ts} +2 -2
- package/lib/markup/Konva/{KonvaEllipse.d.ts → primitives/KonvaEllipse.d.ts} +2 -2
- package/lib/markup/Konva/{KonvaImage.d.ts → primitives/KonvaImage.d.ts} +2 -2
- package/lib/markup/Konva/{KonvaLine.d.ts → primitives/KonvaLine.d.ts} +2 -2
- package/lib/markup/Konva/{KonvaRectangle.d.ts → primitives/KonvaRectangle.d.ts} +2 -2
- package/lib/markup/Konva/{KonvaText.d.ts → primitives/KonvaText.d.ts} +2 -2
- package/lib/markup/{IMarkupArrow.d.ts → primitives/IMarkupArrow.d.ts} +2 -2
- package/lib/markup/{IMarkupCloud.d.ts → primitives/IMarkupCloud.d.ts} +2 -2
- package/lib/markup/{IMarkupEllipse.d.ts → primitives/IMarkupEllipse.d.ts} +2 -2
- package/lib/markup/{IMarkupImage.d.ts → primitives/IMarkupImage.d.ts} +1 -1
- package/lib/markup/{IMarkupLine.d.ts → primitives/IMarkupLine.d.ts} +2 -2
- package/lib/markup/{IMarkupRectangle.d.ts → primitives/IMarkupRectangle.d.ts} +2 -2
- package/lib/markup/{IMarkupText.d.ts → primitives/IMarkupText.d.ts} +2 -2
- package/package.json +3 -3
- package/src/index.ts +8 -8
- package/src/markup/Konva/KonvaMarkup.ts +23 -10
- package/src/markup/Konva/{KonvaArrow.ts → primitives/KonvaArrow.ts} +3 -3
- package/src/markup/Konva/{KonvaCloud.ts → primitives/KonvaCloud.ts} +3 -3
- package/src/markup/Konva/{KonvaEllipse.ts → primitives/KonvaEllipse.ts} +4 -4
- package/src/markup/Konva/{KonvaImage.ts → primitives/KonvaImage.ts} +3 -3
- package/src/markup/Konva/{KonvaLine.ts → primitives/KonvaLine.ts} +3 -3
- package/src/markup/Konva/{KonvaRectangle.ts → primitives/KonvaRectangle.ts} +3 -3
- package/src/markup/Konva/{KonvaText.ts → primitives/KonvaText.ts} +3 -3
- package/src/markup/{IMarkupArrow.ts → primitives/IMarkupArrow.ts} +2 -2
- package/src/markup/{IMarkupCloud.ts → primitives/IMarkupCloud.ts} +2 -2
- package/src/markup/{IMarkupEllipse.ts → primitives/IMarkupEllipse.ts} +2 -2
- package/src/markup/{IMarkupImage.ts → primitives/IMarkupImage.ts} +1 -1
- package/src/markup/{IMarkupLine.ts → primitives/IMarkupLine.ts} +2 -2
- package/src/markup/{IMarkupRectangle.ts → primitives/IMarkupRectangle.ts} +2 -2
- package/src/markup/{IMarkupText.ts → primitives/IMarkupText.ts} +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { IMarkup, MarkupMode } from "./markup/IMarkup";
|
|
2
|
-
export { IMarkupArrow, IMarkupArrowParams } from "./markup/IMarkupArrow";
|
|
3
|
-
export { IMarkupCloud, IMarkupCloudParams } from "./markup/IMarkupCloud";
|
|
4
|
-
export { IMarkupColorable } from "./markup/IMarkupColorable";
|
|
5
|
-
export { IMarkupEllipse, IMarkupEllipseParams } from "./markup/IMarkupEllipse";
|
|
6
|
-
export { IMarkupImage, IMarkupImageParams } from "./markup/IMarkupImage";
|
|
7
|
-
export { IMarkupLine, IMarkupLineParams, MarkupLineType } from "./markup/IMarkupLine";
|
|
8
2
|
export { IMarkupObject } from "./markup/IMarkupObject";
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
3
|
+
export { IMarkupArrow, IMarkupArrowParams } from "./markup/primitives/IMarkupArrow";
|
|
4
|
+
export { IMarkupCloud, IMarkupCloudParams } from "./markup/primitives/IMarkupCloud";
|
|
5
|
+
export { IMarkupEllipse, IMarkupEllipseParams } from "./markup/primitives/IMarkupEllipse";
|
|
6
|
+
export { IMarkupImage, IMarkupImageParams } from "./markup/primitives/IMarkupImage";
|
|
7
|
+
export { IMarkupLine, IMarkupLineParams, MarkupLineType } from "./markup/primitives/IMarkupLine";
|
|
8
|
+
export { IMarkupRectangle, IMarkupRectangleParams } from "./markup/primitives/IMarkupRectangle";
|
|
9
|
+
export { IMarkupText, IMarkupTextParams } from "./markup/primitives/IMarkupText";
|
|
10
|
+
export { IMarkupColorable } from "./markup/IMarkupColorable";
|
|
11
11
|
export { IWorldTransform } from "./markup/IWorldTransform";
|
|
12
12
|
export { KonvaMarkup as Markup } from "./markup/Konva/KonvaMarkup";
|
|
@@ -3,7 +3,7 @@ import { ChangeActiveDraggerEvent, IViewpoint } from "@inweb/viewer-core";
|
|
|
3
3
|
import { IMarkup, MarkupMode } from "../IMarkup";
|
|
4
4
|
import { IWorldTransform } from "../IWorldTransform";
|
|
5
5
|
import { IMarkupObject } from "../IMarkupObject";
|
|
6
|
-
import { MarkupLineType } from "../IMarkupLine";
|
|
6
|
+
import { MarkupLineType } from "../primitives/IMarkupLine";
|
|
7
7
|
/**
|
|
8
8
|
* 2D markup core.
|
|
9
9
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupArrow, IMarkupArrowParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupArrow, IMarkupArrowParams } from "../../primitives/IMarkupArrow";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaArrow implements IMarkupArrow {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _worldTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupCloud, IMarkupCloudParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupCloud, IMarkupCloudParams } from "../../primitives/IMarkupCloud";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaCloud implements IMarkupCloud {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _worldTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupEllipse, IMarkupEllipseParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupEllipse, IMarkupEllipseParams } from "../../primitives/IMarkupEllipse";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaEllipse implements IMarkupEllipse {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _worldTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupImage, IMarkupImageParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupImage, IMarkupImageParams } from "../../primitives/IMarkupImage";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaImage implements IMarkupImage {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _canvasImage;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupLine, IMarkupLineParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupLine, IMarkupLineParams } from "../../primitives/IMarkupLine";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaLine implements IMarkupLine {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _worldTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupRectangle, IMarkupRectangleParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupRectangle, IMarkupRectangleParams } from "../../primitives/IMarkupRectangle";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaRectangle implements IMarkupRectangle {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _worldTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupText, IMarkupTextParams } from "
|
|
2
|
-
import { WorldTransform } from "
|
|
1
|
+
import { IMarkupText, IMarkupTextParams } from "../../primitives/IMarkupText";
|
|
2
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
3
3
|
export declare class KonvaText implements IMarkupText {
|
|
4
4
|
private _ref;
|
|
5
5
|
private _worldTransformer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMarkupObject } from "
|
|
2
|
-
import { IMarkupColorable } from "
|
|
1
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
2
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
3
3
|
/**
|
|
4
4
|
* 2D markup Rectangle object interface.
|
|
5
5
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inweb/markup",
|
|
3
|
-
"version": "27.1.
|
|
3
|
+
"version": "27.1.8",
|
|
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": "~27.1.
|
|
30
|
-
"@inweb/viewer-core": "~27.1.
|
|
29
|
+
"@inweb/eventemitter2": "~27.1.8",
|
|
30
|
+
"@inweb/viewer-core": "~27.1.8"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"konva": "^10.2.0"
|
package/src/index.ts
CHANGED
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
export { IMarkup, MarkupMode } from "./markup/IMarkup";
|
|
25
|
-
export { IMarkupArrow, IMarkupArrowParams } from "./markup/IMarkupArrow";
|
|
26
|
-
export { IMarkupCloud, IMarkupCloudParams } from "./markup/IMarkupCloud";
|
|
27
|
-
export { IMarkupColorable } from "./markup/IMarkupColorable";
|
|
28
|
-
export { IMarkupEllipse, IMarkupEllipseParams } from "./markup/IMarkupEllipse";
|
|
29
|
-
export { IMarkupImage, IMarkupImageParams } from "./markup/IMarkupImage";
|
|
30
|
-
export { IMarkupLine, IMarkupLineParams, MarkupLineType } from "./markup/IMarkupLine";
|
|
31
25
|
export { IMarkupObject } from "./markup/IMarkupObject";
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
26
|
+
export { IMarkupArrow, IMarkupArrowParams } from "./markup/primitives/IMarkupArrow";
|
|
27
|
+
export { IMarkupCloud, IMarkupCloudParams } from "./markup/primitives/IMarkupCloud";
|
|
28
|
+
export { IMarkupEllipse, IMarkupEllipseParams } from "./markup/primitives/IMarkupEllipse";
|
|
29
|
+
export { IMarkupImage, IMarkupImageParams } from "./markup/primitives/IMarkupImage";
|
|
30
|
+
export { IMarkupLine, IMarkupLineParams, MarkupLineType } from "./markup/primitives/IMarkupLine";
|
|
31
|
+
export { IMarkupRectangle, IMarkupRectangleParams } from "./markup/primitives/IMarkupRectangle";
|
|
32
|
+
export { IMarkupText, IMarkupTextParams } from "./markup/primitives/IMarkupText";
|
|
33
|
+
export { IMarkupColorable } from "./markup/IMarkupColorable";
|
|
34
34
|
export { IWorldTransform } from "./markup/IWorldTransform";
|
|
35
35
|
export { KonvaMarkup as Markup } from "./markup/Konva/KonvaMarkup";
|
|
@@ -39,15 +39,15 @@ import { IMarkup, MarkupMode } from "../IMarkup";
|
|
|
39
39
|
import { IWorldTransform } from "../IWorldTransform";
|
|
40
40
|
import { WorldTransform } from "../WorldTransform";
|
|
41
41
|
import { IMarkupObject } from "../IMarkupObject";
|
|
42
|
-
import { MarkupLineType } from "../IMarkupLine";
|
|
42
|
+
import { MarkupLineType } from "../primitives/IMarkupLine";
|
|
43
43
|
import { MarkupColor } from "./MarkupColor";
|
|
44
|
-
import { KonvaLine } from "./KonvaLine";
|
|
45
|
-
import { KonvaText } from "./KonvaText";
|
|
46
|
-
import { KonvaRectangle } from "./KonvaRectangle";
|
|
47
|
-
import { KonvaEllipse } from "./KonvaEllipse";
|
|
48
|
-
import { KonvaArrow } from "./KonvaArrow";
|
|
49
|
-
import { KonvaImage } from "./KonvaImage";
|
|
50
|
-
import { KonvaCloud } from "./KonvaCloud";
|
|
44
|
+
import { KonvaLine } from "./primitives/KonvaLine";
|
|
45
|
+
import { KonvaText } from "./primitives/KonvaText";
|
|
46
|
+
import { KonvaRectangle } from "./primitives/KonvaRectangle";
|
|
47
|
+
import { KonvaEllipse } from "./primitives/KonvaEllipse";
|
|
48
|
+
import { KonvaArrow } from "./primitives/KonvaArrow";
|
|
49
|
+
import { KonvaImage } from "./primitives/KonvaImage";
|
|
50
|
+
import { KonvaCloud } from "./primitives/KonvaCloud";
|
|
51
51
|
|
|
52
52
|
const MarkupMode2Konva = {
|
|
53
53
|
SelectMarkup: {
|
|
@@ -384,8 +384,21 @@ export class KonvaMarkup implements IMarkup {
|
|
|
384
384
|
getSelectedObjects(): IMarkupObject[] {
|
|
385
385
|
if (!this._konvaTransformer) return [];
|
|
386
386
|
|
|
387
|
-
|
|
388
|
-
|
|
387
|
+
// Clean up transformer nodes - remove any destroyed nodes
|
|
388
|
+
const validNodes = this._konvaTransformer.nodes().filter((ref) => {
|
|
389
|
+
try {
|
|
390
|
+
return ref.getLayer() !== null && ref.getParent() !== null;
|
|
391
|
+
} catch {
|
|
392
|
+
return false;
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
|
|
396
|
+
// Update transformer if any nodes were removed
|
|
397
|
+
if (validNodes.length !== this._konvaTransformer.nodes().length) {
|
|
398
|
+
this._konvaTransformer.nodes(validNodes);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
return validNodes
|
|
389
402
|
.map((ref) => {
|
|
390
403
|
const name = ref.className;
|
|
391
404
|
const konvaShape = Object.values(MarkupMode2Konva).find((shape) => shape.name === name);
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupArrow, IMarkupArrowParams } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
25
|
+
import { IMarkupArrow, IMarkupArrowParams } from "../../primitives/IMarkupArrow";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
28
|
|
|
29
29
|
export class KonvaArrow implements IMarkupArrow {
|
|
30
30
|
private _ref: Konva.Arrow;
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupCloud, IMarkupCloudParams } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
25
|
+
import { IMarkupCloud, IMarkupCloudParams } from "../../primitives/IMarkupCloud";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
28
|
|
|
29
29
|
export class KonvaCloud implements IMarkupCloud {
|
|
30
30
|
private _ref: Konva.Shape;
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupEllipse, IMarkupEllipseParams } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
28
|
-
import * as utils from "
|
|
25
|
+
import { IMarkupEllipse, IMarkupEllipseParams } from "../../primitives/IMarkupEllipse";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
|
+
import * as utils from "../../Utils";
|
|
29
29
|
|
|
30
30
|
export class KonvaEllipse implements IMarkupEllipse {
|
|
31
31
|
private _ref: Konva.Ellipse;
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupImage, IMarkupImageParams } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
25
|
+
import { IMarkupImage, IMarkupImageParams } from "../../primitives/IMarkupImage";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
28
|
|
|
29
29
|
export class KonvaImage implements IMarkupImage {
|
|
30
30
|
private _ref: Konva.Image;
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupLine, IMarkupLineParams, MarkupLineType } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
25
|
+
import { IMarkupLine, IMarkupLineParams, MarkupLineType } from "../../primitives/IMarkupLine";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
28
|
|
|
29
29
|
const LineTypeSpecs = new Map<string, number[]>([
|
|
30
30
|
["solid", []],
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupRectangle, IMarkupRectangleParams } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
25
|
+
import { IMarkupRectangle, IMarkupRectangleParams } from "../../primitives/IMarkupRectangle";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
28
|
|
|
29
29
|
export class KonvaRectangle implements IMarkupRectangle {
|
|
30
30
|
private _ref: Konva.Rect;
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
24
|
import Konva from "konva";
|
|
25
|
-
import { IMarkupText, IMarkupTextParams } from "
|
|
26
|
-
import { IWorldTransform } from "
|
|
27
|
-
import { WorldTransform } from "
|
|
25
|
+
import { IMarkupText, IMarkupTextParams } from "../../primitives/IMarkupText";
|
|
26
|
+
import { IWorldTransform } from "../../IWorldTransform";
|
|
27
|
+
import { WorldTransform } from "../../WorldTransform";
|
|
28
28
|
|
|
29
29
|
export class KonvaText implements IMarkupText {
|
|
30
30
|
private _ref: Konva.Text;
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
25
|
-
import { IMarkupColorable } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* 2D markup Arrow object interface.
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
25
|
-
import { IMarkupColorable } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* 2D markup Cloud object interface.
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
25
|
-
import { IMarkupColorable } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* 2D markup Ellipse object interface.
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* 2D markup Image object interface.
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
25
|
-
import { IMarkupColorable } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Defines the type of the markup line.
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
25
|
-
import { IMarkupColorable } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* 2D markup Rectangle object interface.
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
// acknowledge and accept the above terms.
|
|
22
22
|
///////////////////////////////////////////////////////////////////////////////
|
|
23
23
|
|
|
24
|
-
import { IMarkupObject } from "
|
|
25
|
-
import { IMarkupColorable } from "
|
|
24
|
+
import { IMarkupObject } from "../IMarkupObject";
|
|
25
|
+
import { IMarkupColorable } from "../IMarkupColorable";
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* 2D markup Text object interface.
|