@inweb/viewer-visualize 26.3.2 → 26.4.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/viewer-visualize.js
CHANGED
|
@@ -12418,8 +12418,8 @@
|
|
|
12418
12418
|
}
|
|
12419
12419
|
if (!params) params = {};
|
|
12420
12420
|
if (!params.points) params.points = [ {
|
|
12421
|
-
x:
|
|
12422
|
-
y:
|
|
12421
|
+
x: 0,
|
|
12422
|
+
y: 0
|
|
12423
12423
|
}, {
|
|
12424
12424
|
x: 100,
|
|
12425
12425
|
y: 100
|
|
@@ -12527,8 +12527,8 @@
|
|
|
12527
12527
|
}
|
|
12528
12528
|
if (!params) params = {};
|
|
12529
12529
|
if (!params.position) params.position = {
|
|
12530
|
-
x:
|
|
12531
|
-
y:
|
|
12530
|
+
x: 0,
|
|
12531
|
+
y: 0
|
|
12532
12532
|
};
|
|
12533
12533
|
if (!params.text) params.text = "default";
|
|
12534
12534
|
this._ref = new Konva.Text({
|
|
@@ -12634,8 +12634,8 @@
|
|
|
12634
12634
|
}
|
|
12635
12635
|
if (!params) params = {};
|
|
12636
12636
|
if (!params.position) params.position = {
|
|
12637
|
-
x:
|
|
12638
|
-
y:
|
|
12637
|
+
x: 0,
|
|
12638
|
+
y: 0
|
|
12639
12639
|
};
|
|
12640
12640
|
this._ref = new Konva.Rect({
|
|
12641
12641
|
stroke: (_a = params.color) !== null && _a !== undefined ? _a : "#ff0000",
|
|
@@ -12748,8 +12748,8 @@
|
|
|
12748
12748
|
}
|
|
12749
12749
|
if (!params) params = {};
|
|
12750
12750
|
if (!params.position) params.position = {
|
|
12751
|
-
x:
|
|
12752
|
-
y:
|
|
12751
|
+
x: 0,
|
|
12752
|
+
y: 0
|
|
12753
12753
|
};
|
|
12754
12754
|
if (!params.radius) params.radius = {
|
|
12755
12755
|
x: 25,
|
|
@@ -12878,8 +12878,8 @@
|
|
|
12878
12878
|
}
|
|
12879
12879
|
if (!params) params = {};
|
|
12880
12880
|
if (!params.start) params.start = {
|
|
12881
|
-
x:
|
|
12882
|
-
y:
|
|
12881
|
+
x: 0,
|
|
12882
|
+
y: 0
|
|
12883
12883
|
};
|
|
12884
12884
|
if (!params.end) params.end = {
|
|
12885
12885
|
x: 100,
|
|
@@ -12994,8 +12994,8 @@
|
|
|
12994
12994
|
}
|
|
12995
12995
|
if (!params) params = {};
|
|
12996
12996
|
if (!params.position) params.position = {
|
|
12997
|
-
x:
|
|
12998
|
-
y:
|
|
12997
|
+
x: 0,
|
|
12998
|
+
y: 0
|
|
12999
12999
|
};
|
|
13000
13000
|
if (!params.src || !params.src.startsWith(this.BASE64_HEADER_START)) params.src = this.BASE64_NOT_FOUND;
|
|
13001
13001
|
this._canvasImage = new Image;
|
|
@@ -13131,8 +13131,8 @@
|
|
|
13131
13131
|
}
|
|
13132
13132
|
if (!params) params = {};
|
|
13133
13133
|
if (!params.position) params.position = {
|
|
13134
|
-
x:
|
|
13135
|
-
y:
|
|
13134
|
+
x: 0,
|
|
13135
|
+
y: 0
|
|
13136
13136
|
};
|
|
13137
13137
|
const arcRadius = 16;
|
|
13138
13138
|
this._ref = new Konva.Shape({
|