@netless/appliance-plugin 1.1.44-beta.0 → 1.1.44
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/appliance-plugin.js +1 -1
- package/dist/appliance-plugin.mjs +12 -12
- package/dist/{bridge-CskJoX5M.js → bridge-B7BW1lpB.js} +1 -1
- package/dist/{bridge-rKHCYJ6m.mjs → bridge-DQud78k4.mjs} +1 -1
- package/dist/bridge.js +1 -1
- package/dist/bridge.mjs +1 -1
- package/dist/collector/types.d.ts +0 -3
- package/dist/component/textEditor/types.d.ts +0 -5
- package/dist/core/mainThread/base.d.ts +5 -1
- package/dist/core/mainThread/snapshotThread.d.ts +2 -3
- package/dist/core/mainThread/subLocalThread.d.ts +2 -5
- package/dist/core/mainThread/subServiceThread.d.ts +2 -1
- package/dist/core/mainThread/subTopThread.d.ts +2 -2
- package/dist/core/tools/arrow.d.ts +1 -423
- package/dist/core/tools/base.d.ts +2 -444
- package/dist/core/tools/ellipse.d.ts +1 -423
- package/dist/core/tools/eraser.d.ts +2 -846
- package/dist/core/tools/eraserFaces.d.ts +0 -2
- package/dist/core/tools/image.d.ts +1 -0
- package/dist/core/tools/laserPen.d.ts +2 -846
- package/dist/core/tools/pencil.d.ts +2 -848
- package/dist/core/tools/pencilEraser.d.ts +4 -1692
- package/dist/core/tools/pencilEraserBitMap.d.ts +5 -2115
- package/dist/core/tools/polygon.d.ts +1 -423
- package/dist/core/tools/rectangle.d.ts +1 -423
- package/dist/core/tools/selector.d.ts +7 -2121
- package/dist/core/tools/speechBalloon.d.ts +1 -423
- package/dist/core/tools/star.d.ts +1 -423
- package/dist/core/tools/straight.d.ts +1 -423
- package/dist/core/tools/text.d.ts +3 -3
- package/dist/core/tools/utils.d.ts +2 -2
- package/dist/core/types.d.ts +0 -9
- package/dist/core/utils/index.d.ts +0 -2
- package/dist/core/utils/serviceImageRecovery.d.ts +9 -0
- package/dist/core/vNodeManager.d.ts +1 -1
- package/dist/core/worker/base.d.ts +6 -2
- package/dist/core/worker/fullWorkerLocal.d.ts +0 -1
- package/dist/core/worker/fullWorkerService.d.ts +4 -2
- package/dist/core/worker/simpleWorker.d.ts +2 -2
- package/dist/core/worker/subWorkerTopLayer.d.ts +2 -2
- package/dist/fullWorker.js +148 -149
- package/dist/{index-Ca2t53R7.mjs → index-4ZI3GxVI.mjs} +1 -1
- package/dist/{index-ZMuKk-bl.js → index-AJCkfnUu.js} +1 -1
- package/dist/{index-ConirzkM.mjs → index-B8Ls8sf_.mjs} +1 -1
- package/dist/{index-BbBSxLGe.mjs → index-BBtV40zU.mjs} +563 -490
- package/dist/{index-C-tBYq0K.js → index-BOzOWS7h.js} +1 -1
- package/dist/index-BQiBrpib.js +1 -0
- package/dist/index-BYriQtGa.js +1 -0
- package/dist/{index-_3yxgNoj.mjs → index-C2tUvh2a.mjs} +11964 -12224
- package/dist/{index-DWevrjrE.mjs → index-DSFxl2wM.mjs} +11917 -12168
- package/dist/index-DnJkIouU.js +570 -0
- package/dist/index-DptnZ-h8.js +570 -0
- package/dist/{index-LcCU1tMV.mjs → index-ZUpKkvbD.mjs} +563 -490
- package/dist/subWorker.js +132 -133
- package/package.json +3 -4
- package/dist/core/utils/affineMatrix.d.ts +0 -33
- package/dist/core/utils/fontFamily.d.ts +0 -8
- package/dist/core/utils/selectorMatrix.d.ts +0 -4
- package/dist/core/utils/selectorRefresh.d.ts +0 -8
- package/dist/core/utils/textRaster.d.ts +0 -2
- package/dist/index-B0SB7Efu.js +0 -570
- package/dist/index-BIVRfc_x.js +0 -570
- package/dist/index-Bzg5OMdP.js +0 -1
- package/dist/index-CsNG_bzI.js +0 -1
|
@@ -40,429 +40,7 @@ export declare class StraightShape extends BaseShapeTool {
|
|
|
40
40
|
};
|
|
41
41
|
workId: string;
|
|
42
42
|
toolsType: EToolsKey;
|
|
43
|
-
opt:
|
|
44
|
-
matrix: import("../utils").AffineMatrix;
|
|
45
|
-
fontColor: string;
|
|
46
|
-
fontSize: number;
|
|
47
|
-
text: string;
|
|
48
|
-
textAlign: import("../../component/textEditor").TextAlignType;
|
|
49
|
-
verticalAlign: import("../../component/textEditor").VerticalAlignType;
|
|
50
|
-
lineHeight?: number;
|
|
51
|
-
fontFamily?: string;
|
|
52
|
-
bold?: import("../../component/textEditor").FontWeightType;
|
|
53
|
-
italic?: import("../../component/textEditor").FontStyleType;
|
|
54
|
-
fontBgColor?: string;
|
|
55
|
-
underline?: boolean;
|
|
56
|
-
lineThrough?: boolean;
|
|
57
|
-
boxPoint?: [number, number];
|
|
58
|
-
boxSize?: [number, number];
|
|
59
|
-
workState?: EventWorkState;
|
|
60
|
-
uid?: string;
|
|
61
|
-
isOpacity?: boolean;
|
|
62
|
-
strokeColor?: string;
|
|
63
|
-
fillColor?: string;
|
|
64
|
-
vertex?: string;
|
|
65
|
-
fragment?: string;
|
|
66
|
-
syncUnitTime?: number;
|
|
67
|
-
zIndex?: number;
|
|
68
|
-
scale?: [number, number];
|
|
69
|
-
rotate?: number;
|
|
70
|
-
thickness?: number;
|
|
71
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
72
|
-
translate?: [number, number];
|
|
73
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
74
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
75
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
76
|
-
lineCap?: "square" | "round";
|
|
77
|
-
lineDash?: [number, number];
|
|
78
|
-
} | {
|
|
79
|
-
matrix: import("../utils").AffineMatrix;
|
|
80
|
-
thickness: number;
|
|
81
|
-
strokeColor: string;
|
|
82
|
-
strokeType: EStrokeType;
|
|
83
|
-
autoShape?: boolean;
|
|
84
|
-
previewLocalOnly?: boolean;
|
|
85
|
-
isOpacity?: boolean;
|
|
86
|
-
fontColor?: string;
|
|
87
|
-
fontBgColor?: string;
|
|
88
|
-
fillColor?: string;
|
|
89
|
-
vertex?: string;
|
|
90
|
-
fragment?: string;
|
|
91
|
-
syncUnitTime?: number;
|
|
92
|
-
zIndex?: number;
|
|
93
|
-
scale?: [number, number];
|
|
94
|
-
rotate?: number;
|
|
95
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
96
|
-
translate?: [number, number];
|
|
97
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
98
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
99
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
100
|
-
lineCap?: "square" | "round";
|
|
101
|
-
lineDash?: [number, number];
|
|
102
|
-
} | {
|
|
103
|
-
matrix: import("../utils").AffineMatrix;
|
|
104
|
-
thickness: number;
|
|
105
|
-
duration: number;
|
|
106
|
-
strokeColor: string;
|
|
107
|
-
strokeType: Omit<EStrokeType, "Stroke">;
|
|
108
|
-
isOpacity?: boolean;
|
|
109
|
-
fontColor?: string;
|
|
110
|
-
fontBgColor?: string;
|
|
111
|
-
fillColor?: string;
|
|
112
|
-
vertex?: string;
|
|
113
|
-
fragment?: string;
|
|
114
|
-
syncUnitTime?: number;
|
|
115
|
-
zIndex?: number;
|
|
116
|
-
scale?: [number, number];
|
|
117
|
-
rotate?: number;
|
|
118
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
119
|
-
translate?: [number, number];
|
|
120
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
121
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
122
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
123
|
-
lineCap?: "square" | "round";
|
|
124
|
-
lineDash?: [number, number];
|
|
125
|
-
} | {
|
|
126
|
-
matrix: import("../utils").AffineMatrix;
|
|
127
|
-
thickness: number;
|
|
128
|
-
isOpacity?: boolean;
|
|
129
|
-
fontColor?: string;
|
|
130
|
-
fontBgColor?: string;
|
|
131
|
-
strokeColor?: string;
|
|
132
|
-
fillColor?: string;
|
|
133
|
-
vertex?: string;
|
|
134
|
-
fragment?: string;
|
|
135
|
-
syncUnitTime?: number;
|
|
136
|
-
zIndex?: number;
|
|
137
|
-
scale?: [number, number];
|
|
138
|
-
rotate?: number;
|
|
139
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
140
|
-
translate?: [number, number];
|
|
141
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
142
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
143
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
144
|
-
lineCap?: "square" | "round";
|
|
145
|
-
lineDash?: [number, number];
|
|
146
|
-
} | {
|
|
147
|
-
matrix: import("../utils").AffineMatrix;
|
|
148
|
-
thickness: number;
|
|
149
|
-
maxImageWidth?: number;
|
|
150
|
-
maxImageHeight?: number;
|
|
151
|
-
removeOnDone?: boolean;
|
|
152
|
-
isOpacity?: boolean;
|
|
153
|
-
fontColor?: string;
|
|
154
|
-
fontBgColor?: string;
|
|
155
|
-
strokeColor?: string;
|
|
156
|
-
fillColor?: string;
|
|
157
|
-
vertex?: string;
|
|
158
|
-
fragment?: string;
|
|
159
|
-
syncUnitTime?: number;
|
|
160
|
-
zIndex?: number;
|
|
161
|
-
scale?: [number, number];
|
|
162
|
-
rotate?: number;
|
|
163
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
164
|
-
translate?: [number, number];
|
|
165
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
166
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
167
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
168
|
-
lineCap?: "square" | "round";
|
|
169
|
-
lineDash?: [number, number];
|
|
170
|
-
} | {
|
|
171
|
-
matrix: import("../utils").AffineMatrix;
|
|
172
|
-
thickness: number;
|
|
173
|
-
isOpacity?: boolean;
|
|
174
|
-
fontColor?: string;
|
|
175
|
-
fontBgColor?: string;
|
|
176
|
-
strokeColor?: string;
|
|
177
|
-
fillColor?: string;
|
|
178
|
-
vertex?: string;
|
|
179
|
-
fragment?: string;
|
|
180
|
-
syncUnitTime?: number;
|
|
181
|
-
zIndex?: number;
|
|
182
|
-
scale?: [number, number];
|
|
183
|
-
rotate?: number;
|
|
184
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
185
|
-
translate?: [number, number];
|
|
186
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
187
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
188
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
189
|
-
lineCap?: "square" | "round";
|
|
190
|
-
lineDash?: [number, number];
|
|
191
|
-
} | {
|
|
192
|
-
matrix: import("../utils").AffineMatrix;
|
|
193
|
-
thickness: number;
|
|
194
|
-
vertices: number;
|
|
195
|
-
innerVerticeStep: number;
|
|
196
|
-
innerRatio: number;
|
|
197
|
-
strokeColor: string;
|
|
198
|
-
fillColor: string;
|
|
199
|
-
strokeType: EStrokeType;
|
|
200
|
-
isOpacity?: boolean;
|
|
201
|
-
fontColor?: string;
|
|
202
|
-
fontBgColor?: string;
|
|
203
|
-
vertex?: string;
|
|
204
|
-
fragment?: string;
|
|
205
|
-
syncUnitTime?: number;
|
|
206
|
-
zIndex?: number;
|
|
207
|
-
scale?: [number, number];
|
|
208
|
-
rotate?: number;
|
|
209
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
210
|
-
translate?: [number, number];
|
|
211
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
212
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
213
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
214
|
-
lineCap?: "square" | "round";
|
|
215
|
-
lineDash?: [number, number];
|
|
216
|
-
} | {
|
|
217
|
-
matrix: import("../utils").AffineMatrix;
|
|
218
|
-
isOpacity?: boolean;
|
|
219
|
-
fontColor?: string;
|
|
220
|
-
fontBgColor?: string;
|
|
221
|
-
strokeColor?: string;
|
|
222
|
-
fillColor?: string;
|
|
223
|
-
vertex?: string;
|
|
224
|
-
fragment?: string;
|
|
225
|
-
syncUnitTime?: number;
|
|
226
|
-
zIndex?: number;
|
|
227
|
-
scale?: [number, number];
|
|
228
|
-
rotate?: number;
|
|
229
|
-
thickness?: number;
|
|
230
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
231
|
-
translate?: [number, number];
|
|
232
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
233
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
234
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
235
|
-
lineCap?: "square" | "round";
|
|
236
|
-
lineDash?: [number, number];
|
|
237
|
-
} | {
|
|
238
|
-
matrix: import("../utils").AffineMatrix;
|
|
239
|
-
thickness: number;
|
|
240
|
-
strokeColor: string;
|
|
241
|
-
strokeType: EStrokeType;
|
|
242
|
-
isOpacity?: boolean;
|
|
243
|
-
fontColor?: string;
|
|
244
|
-
fontBgColor?: string;
|
|
245
|
-
fillColor?: string;
|
|
246
|
-
vertex?: string;
|
|
247
|
-
fragment?: string;
|
|
248
|
-
syncUnitTime?: number;
|
|
249
|
-
zIndex?: number;
|
|
250
|
-
scale?: [number, number];
|
|
251
|
-
rotate?: number;
|
|
252
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
253
|
-
translate?: [number, number];
|
|
254
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
255
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
256
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
257
|
-
lineCap?: "square" | "round";
|
|
258
|
-
lineDash?: [number, number];
|
|
259
|
-
} | {
|
|
260
|
-
matrix: import("../utils").AffineMatrix;
|
|
261
|
-
thickness: number;
|
|
262
|
-
strokeColor: string;
|
|
263
|
-
fillColor: string;
|
|
264
|
-
strokeType: EStrokeType;
|
|
265
|
-
isOpacity?: boolean;
|
|
266
|
-
fontColor?: string;
|
|
267
|
-
fontBgColor?: string;
|
|
268
|
-
vertex?: string;
|
|
269
|
-
fragment?: string;
|
|
270
|
-
syncUnitTime?: number;
|
|
271
|
-
zIndex?: number;
|
|
272
|
-
scale?: [number, number];
|
|
273
|
-
rotate?: number;
|
|
274
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
275
|
-
translate?: [number, number];
|
|
276
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
277
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
278
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
279
|
-
lineCap?: "square" | "round";
|
|
280
|
-
lineDash?: [number, number];
|
|
281
|
-
} | {
|
|
282
|
-
matrix: import("../utils").AffineMatrix;
|
|
283
|
-
thickness: number;
|
|
284
|
-
strokeColor: string;
|
|
285
|
-
fillColor: string;
|
|
286
|
-
strokeType: EStrokeType;
|
|
287
|
-
isOpacity?: boolean;
|
|
288
|
-
fontColor?: string;
|
|
289
|
-
fontBgColor?: string;
|
|
290
|
-
vertex?: string;
|
|
291
|
-
fragment?: string;
|
|
292
|
-
syncUnitTime?: number;
|
|
293
|
-
zIndex?: number;
|
|
294
|
-
scale?: [number, number];
|
|
295
|
-
rotate?: number;
|
|
296
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
297
|
-
translate?: [number, number];
|
|
298
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
299
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
300
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
301
|
-
lineCap?: "square" | "round";
|
|
302
|
-
lineDash?: [number, number];
|
|
303
|
-
} | {
|
|
304
|
-
matrix: import("../utils").AffineMatrix;
|
|
305
|
-
thickness: number;
|
|
306
|
-
vertices: number;
|
|
307
|
-
strokeColor: string;
|
|
308
|
-
fillColor: string;
|
|
309
|
-
strokeType: EStrokeType;
|
|
310
|
-
isOpacity?: boolean;
|
|
311
|
-
fontColor?: string;
|
|
312
|
-
fontBgColor?: string;
|
|
313
|
-
vertex?: string;
|
|
314
|
-
fragment?: string;
|
|
315
|
-
syncUnitTime?: number;
|
|
316
|
-
zIndex?: number;
|
|
317
|
-
scale?: [number, number];
|
|
318
|
-
rotate?: number;
|
|
319
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
320
|
-
translate?: [number, number];
|
|
321
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
322
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
323
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
324
|
-
lineCap?: "square" | "round";
|
|
325
|
-
lineDash?: [number, number];
|
|
326
|
-
} | {
|
|
327
|
-
matrix: import("../utils").AffineMatrix;
|
|
328
|
-
thickness: number;
|
|
329
|
-
strokeColor: string;
|
|
330
|
-
strokeType: EStrokeType;
|
|
331
|
-
isOpacity?: boolean;
|
|
332
|
-
fontColor?: string;
|
|
333
|
-
fontBgColor?: string;
|
|
334
|
-
fillColor?: string;
|
|
335
|
-
vertex?: string;
|
|
336
|
-
fragment?: string;
|
|
337
|
-
syncUnitTime?: number;
|
|
338
|
-
zIndex?: number;
|
|
339
|
-
scale?: [number, number];
|
|
340
|
-
rotate?: number;
|
|
341
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
342
|
-
translate?: [number, number];
|
|
343
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
344
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
345
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
346
|
-
lineCap?: "square" | "round";
|
|
347
|
-
lineDash?: [number, number];
|
|
348
|
-
} | {
|
|
349
|
-
matrix: import("../utils").AffineMatrix;
|
|
350
|
-
thickness: number;
|
|
351
|
-
placement: import("../..").SpeechBalloonPlacement;
|
|
352
|
-
strokeColor: string;
|
|
353
|
-
fillColor: string;
|
|
354
|
-
strokeType: EStrokeType;
|
|
355
|
-
isOpacity?: boolean;
|
|
356
|
-
fontColor?: string;
|
|
357
|
-
fontBgColor?: string;
|
|
358
|
-
vertex?: string;
|
|
359
|
-
fragment?: string;
|
|
360
|
-
syncUnitTime?: number;
|
|
361
|
-
zIndex?: number;
|
|
362
|
-
scale?: [number, number];
|
|
363
|
-
rotate?: number;
|
|
364
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
365
|
-
translate?: [number, number];
|
|
366
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
367
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
368
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
369
|
-
lineCap?: "square" | "round";
|
|
370
|
-
lineDash?: [number, number];
|
|
371
|
-
} | {
|
|
372
|
-
matrix: import("../utils").AffineMatrix;
|
|
373
|
-
src: string;
|
|
374
|
-
type: import("..").EImageType;
|
|
375
|
-
uuid: string;
|
|
376
|
-
centerX: number;
|
|
377
|
-
centerY: number;
|
|
378
|
-
width: number;
|
|
379
|
-
height: number;
|
|
380
|
-
locked: boolean;
|
|
381
|
-
uniformScale?: boolean;
|
|
382
|
-
crossOrigin?: boolean | string;
|
|
383
|
-
isOpacity?: boolean;
|
|
384
|
-
fontColor?: string;
|
|
385
|
-
fontBgColor?: string;
|
|
386
|
-
strokeColor?: string;
|
|
387
|
-
fillColor?: string;
|
|
388
|
-
vertex?: string;
|
|
389
|
-
fragment?: string;
|
|
390
|
-
syncUnitTime?: number;
|
|
391
|
-
zIndex?: number;
|
|
392
|
-
scale?: [number, number];
|
|
393
|
-
rotate?: number;
|
|
394
|
-
thickness?: number;
|
|
395
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
396
|
-
translate?: [number, number];
|
|
397
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
398
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
399
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
400
|
-
lineCap?: "square" | "round";
|
|
401
|
-
lineDash?: [number, number];
|
|
402
|
-
} | {
|
|
403
|
-
matrix: import("../utils").AffineMatrix;
|
|
404
|
-
type: import("..").ESVGType.url;
|
|
405
|
-
src: string;
|
|
406
|
-
crossOrigin: boolean | string;
|
|
407
|
-
uuid: string;
|
|
408
|
-
centerX: number;
|
|
409
|
-
centerY: number;
|
|
410
|
-
width: number;
|
|
411
|
-
height: number;
|
|
412
|
-
locked: boolean;
|
|
413
|
-
uniformScale: boolean;
|
|
414
|
-
state?: unknown;
|
|
415
|
-
isOpacity?: boolean;
|
|
416
|
-
fontColor?: string;
|
|
417
|
-
fontBgColor?: string;
|
|
418
|
-
strokeColor?: string;
|
|
419
|
-
fillColor?: string;
|
|
420
|
-
vertex?: string;
|
|
421
|
-
fragment?: string;
|
|
422
|
-
syncUnitTime?: number;
|
|
423
|
-
zIndex?: number;
|
|
424
|
-
scale?: [number, number];
|
|
425
|
-
rotate?: number;
|
|
426
|
-
thickness?: number;
|
|
427
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
428
|
-
translate?: [number, number];
|
|
429
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
430
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
431
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
432
|
-
lineCap?: "square" | "round";
|
|
433
|
-
lineDash?: [number, number];
|
|
434
|
-
} | {
|
|
435
|
-
matrix: import("../utils").AffineMatrix;
|
|
436
|
-
type: import("..").ESVGType.markmap;
|
|
437
|
-
data: string;
|
|
438
|
-
uuid: string;
|
|
439
|
-
centerX: number;
|
|
440
|
-
centerY: number;
|
|
441
|
-
width: number;
|
|
442
|
-
height: number;
|
|
443
|
-
locked: boolean;
|
|
444
|
-
uniformScale: boolean;
|
|
445
|
-
state?: unknown;
|
|
446
|
-
isOpacity?: boolean;
|
|
447
|
-
fontColor?: string;
|
|
448
|
-
fontBgColor?: string;
|
|
449
|
-
strokeColor?: string;
|
|
450
|
-
fillColor?: string;
|
|
451
|
-
vertex?: string;
|
|
452
|
-
fragment?: string;
|
|
453
|
-
syncUnitTime?: number;
|
|
454
|
-
zIndex?: number;
|
|
455
|
-
scale?: [number, number];
|
|
456
|
-
rotate?: number;
|
|
457
|
-
thickness?: number;
|
|
458
|
-
textOpt?: import("../../component/textEditor").TextOptions;
|
|
459
|
-
translate?: [number, number];
|
|
460
|
-
eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
461
|
-
eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
|
|
462
|
-
doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
|
|
463
|
-
lineCap?: "square" | "round";
|
|
464
|
-
lineDash?: [number, number];
|
|
465
|
-
};
|
|
43
|
+
opt: import("./utils").ShapeOptions;
|
|
466
44
|
rect: IRectType;
|
|
467
45
|
type: EPostMessageType;
|
|
468
46
|
dataType: EDataType;
|
|
@@ -4,8 +4,8 @@ import { EPostMessageType, EScaleType, EToolsKey } from "../enum";
|
|
|
4
4
|
import { Point2d } from "../utils/primitives/Point2d";
|
|
5
5
|
import { BaseShapeTool, BaseShapeToolProps } from "./base";
|
|
6
6
|
import { TextOptions } from "../../component/textEditor";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
7
|
+
import { ShapeNodes } from "./utils";
|
|
8
|
+
import { VNodeManager } from "../vNodeManager";
|
|
9
9
|
import type { BaseCollectorReducerAction } from "../../collector/types";
|
|
10
10
|
export declare class TextShape extends BaseShapeTool {
|
|
11
11
|
static normalizeStorageData(storage: BaseCollectorReducerAction): Promise<{
|
|
@@ -51,7 +51,6 @@ export declare class TextShape extends BaseShapeTool {
|
|
|
51
51
|
isDrawLabel?: boolean;
|
|
52
52
|
boxRect?: IRectType;
|
|
53
53
|
isActive?: () => boolean;
|
|
54
|
-
previewMatrix?: BaseNodeMapItem["previewMatrix"];
|
|
55
54
|
}): Promise<IRectType | undefined>;
|
|
56
55
|
updataOptService(): IRectType | undefined;
|
|
57
56
|
updataOptServiceAsync(updateNodeOpt: IUpdateNodeOpt, isDrawLabel?: boolean, boxRect?: IRectType): Promise<IRectType | undefined>;
|
|
@@ -60,6 +59,7 @@ export declare class TextShape extends BaseShapeTool {
|
|
|
60
59
|
static getSafetySnippetFontLength(fontSize: number): number;
|
|
61
60
|
static createLabels(textOpt: TextOptions, layer: Group, groupRect: IRectType, isActive?: () => boolean): Promise<{
|
|
62
61
|
labels: (Group | Polyline | Sprite | Label)[];
|
|
62
|
+
maxWidth: number;
|
|
63
63
|
}>;
|
|
64
64
|
static updateNodeOpt(param: {
|
|
65
65
|
node: ShapeNodes;
|
|
@@ -35,7 +35,7 @@ export interface CombineConsumeResult {
|
|
|
35
35
|
rect: IRectType | undefined;
|
|
36
36
|
consumeIndex: number;
|
|
37
37
|
}
|
|
38
|
-
export declare function getShapeTools(toolsType: EToolsKey): typeof TextShape | typeof ArrowShape | typeof PencilShape | typeof StraightShape | typeof EllipseShape | typeof PolygonShape | typeof StarShape | typeof RectangleShape | typeof SpeechBalloonShape | typeof LaserPenShape | typeof EraserShape | typeof
|
|
38
|
+
export declare function getShapeTools(toolsType: EToolsKey): typeof TextShape | typeof ArrowShape | typeof PencilShape | typeof StraightShape | typeof EllipseShape | typeof PolygonShape | typeof StarShape | typeof RectangleShape | typeof SpeechBalloonShape | typeof LaserPenShape | typeof EraserShape | typeof BitMapEraserShape | typeof PencilEraserShape | typeof SelectorShape | typeof ImageShape | typeof ISvgShadowShape | undefined;
|
|
39
39
|
export declare function normalizeStorageDataByTool(storage: BaseCollectorReducerAction): Promise<StorageNormalizationResult>;
|
|
40
40
|
export declare function normalizeStorageDataByToolSync(storage: BaseCollectorReducerAction): StorageNormalizationResult;
|
|
41
41
|
export declare function getShapeInstance(param: {
|
|
@@ -45,5 +45,5 @@ export declare function getShapeInstance(param: {
|
|
|
45
45
|
vNodes?: VNodeManager;
|
|
46
46
|
fullLayer: Group;
|
|
47
47
|
drawLayer?: Group;
|
|
48
|
-
}, serviceWork?: ServiceThreadSubWork): TextShape | ArrowShape | PencilShape | StraightShape | EllipseShape | PolygonShape | StarShape | RectangleShape | SpeechBalloonShape | LaserPenShape | EraserShape |
|
|
48
|
+
}, serviceWork?: ServiceThreadSubWork): TextShape | ArrowShape | PencilShape | StraightShape | EllipseShape | PolygonShape | StarShape | RectangleShape | SpeechBalloonShape | LaserPenShape | EraserShape | BitMapEraserShape | PencilEraserShape | SelectorShape | ImageShape | ISvgShadowShape | undefined;
|
|
49
49
|
export declare function findShapeBody(nodes: ShapeNodes[]): ShapeNodes[];
|
package/dist/core/types.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import type { Direction } from "re-resizable/lib/resizer";
|
|
|
8
8
|
import type { ShapeOptType } from "../displayer/types";
|
|
9
9
|
import type { AutoShapeResult } from "./autoShape/types";
|
|
10
10
|
import type { RenderProbeProfile, WorkerRenderCapabilities } from "./worker/renderCapabilityProbe";
|
|
11
|
-
import type { AffineMatrix } from "./utils/affineMatrix";
|
|
12
11
|
export type PickOne<T> = {
|
|
13
12
|
[P in keyof T]: Record<P, T[P]> & Partial<Record<Exclude<keyof T, P>, undefined>>;
|
|
14
13
|
}[keyof T];
|
|
@@ -103,8 +102,6 @@ export interface IUpdateNodeOpt {
|
|
|
103
102
|
willRefresh?: boolean;
|
|
104
103
|
/** 最新操作用户 */
|
|
105
104
|
uid?: string;
|
|
106
|
-
matrixDelta?: AffineMatrix;
|
|
107
|
-
previewMatrix?: AffineMatrix;
|
|
108
105
|
[key: string]: any;
|
|
109
106
|
}
|
|
110
107
|
export interface EraserGeometryDelta {
|
|
@@ -154,8 +151,6 @@ export type IWorkerMessage = Omit<Partial<BaseCollectorReducerAction>, "op"> & {
|
|
|
154
151
|
/** Camera 最后一帧相关的延迟重渲染已完成。 */
|
|
155
152
|
cameraSettledTaskId?: number;
|
|
156
153
|
textUpdateForWoker?: boolean;
|
|
157
|
-
/** Live selector transform for the text editor overlay. */
|
|
158
|
-
previewMatrix?: AffineMatrix;
|
|
159
154
|
tasksqueue?: Map<string, IWorkerMessage>;
|
|
160
155
|
point?: [number, number];
|
|
161
156
|
disableEraseImage?: boolean;
|
|
@@ -380,7 +375,6 @@ export interface IUpdateSelectorCallbackPropsType {
|
|
|
380
375
|
opt: BaseShapeOptions;
|
|
381
376
|
toolsType: EToolsKey;
|
|
382
377
|
ops?: string;
|
|
383
|
-
previewMatrix?: AffineMatrix;
|
|
384
378
|
}>;
|
|
385
379
|
/** 平滑同步 */
|
|
386
380
|
smoothSync?: boolean;
|
|
@@ -443,9 +437,6 @@ export type BaseNodeMapItem = {
|
|
|
443
437
|
isSelected: boolean;
|
|
444
438
|
/** 是否是影子模型,影子模型不会被绘制 */
|
|
445
439
|
isShadow?: boolean;
|
|
446
|
-
matrix?: AffineMatrix;
|
|
447
|
-
/** Local transform used only while a selector gesture is in progress. */
|
|
448
|
-
previewMatrix?: AffineMatrix;
|
|
449
440
|
};
|
|
450
441
|
export type Size = {
|
|
451
442
|
/**
|
|
@@ -4,8 +4,6 @@ import { Box2d } from "./primitives/Box2d";
|
|
|
4
4
|
import { Vec2d, VecLike } from "./primitives/Vec2d";
|
|
5
5
|
export * from "./math";
|
|
6
6
|
export * from "./spriteNode";
|
|
7
|
-
export * from "./affineMatrix";
|
|
8
|
-
export * from "./selectorMatrix";
|
|
9
7
|
/** @public */
|
|
10
8
|
export declare function precise(A: VecLike): string;
|
|
11
9
|
/** @public */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type ImageSource = ImageBitmap | HTMLImageElement;
|
|
2
|
+
/** Runs one remote image load outside the service render/commit barrier. */
|
|
3
|
+
export declare class ServiceImageRecovery {
|
|
4
|
+
private readonly jobs;
|
|
5
|
+
request(workId: string, src: string, load: () => Promise<ImageSource | undefined>, isCurrent: () => boolean, onReady: (image: ImageSource) => void): void;
|
|
6
|
+
cancel(workId: string): void;
|
|
7
|
+
clear(): void;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
|
@@ -47,7 +47,7 @@ export declare class VNodeManager {
|
|
|
47
47
|
rectRange: IRectType | undefined;
|
|
48
48
|
nodeRange: Map<string, BaseNodeMapItem>;
|
|
49
49
|
};
|
|
50
|
-
getNodeRectFormShape(name: string, value: BaseNodeMapItem
|
|
50
|
+
getNodeRectFormShape(name: string, value: BaseNodeMapItem): IRectType | undefined;
|
|
51
51
|
updateNodeRect(key: string): void;
|
|
52
52
|
updateHighLevelNodesRect(highLevelIds: Set<string>): void;
|
|
53
53
|
updateLowLevelNodesRect(): void;
|
|
@@ -10,6 +10,7 @@ import { EWorkThreadType, type WorkThreadEngineForFullWorker, type WorkThreadEng
|
|
|
10
10
|
import { EmitEventType } from "../../plugin/types";
|
|
11
11
|
import { CameraUpdateTaskContext } from "../cameraTask";
|
|
12
12
|
import { type RendererBusinessTaskOptions } from "../rendererBusinessTask";
|
|
13
|
+
import { ImageOptions } from "../tools/image";
|
|
13
14
|
import type { IBitmapEraserMaskOptions } from "../types";
|
|
14
15
|
import { MaxDelayBatchScheduler, WorkerAckBackpressure } from "../batchScheduler";
|
|
15
16
|
export interface IWorkerInitOption {
|
|
@@ -96,6 +97,7 @@ export declare abstract class WorkThreadEngineBase {
|
|
|
96
97
|
protected createRenderLayer(scene: Scene, opt: IWorkerInitOption): void;
|
|
97
98
|
updateDpr(dpr: number): Promise<void>;
|
|
98
99
|
getCachedImages(imageSrc: string): ImageBitmap | undefined;
|
|
100
|
+
getImageSourceKey(opt: ImageOptions): string | undefined;
|
|
99
101
|
getCachedImagesByWorkId(workId: string): ImageBitmap | undefined;
|
|
100
102
|
deleteCachedImagesByWorkId(workId: string, filter?: string): void;
|
|
101
103
|
clearCacheImages(): void;
|
|
@@ -114,7 +116,9 @@ export declare abstract class WorkThreadEngineBase {
|
|
|
114
116
|
setIsSafari(isSafari: boolean): void;
|
|
115
117
|
on(msg: IWorkerMessage): Promise<void>;
|
|
116
118
|
private getIconSize;
|
|
117
|
-
loadImageBitMap(msg: Pick<IWorkerMessage, "toolsType" | "opt" | "workId" | "isSubWorker" | "requestId">
|
|
119
|
+
loadImageBitMap(msg: Pick<IWorkerMessage, "toolsType" | "opt" | "workId" | "isSubWorker" | "requestId"> & {
|
|
120
|
+
timeoutMs?: number;
|
|
121
|
+
}): Promise<ImageBitmap | undefined>;
|
|
118
122
|
protected createLocalWork(data: IWorkerMessage): void;
|
|
119
123
|
protected updateScene(scene: Scene, offscreenCanvasOpt: IOffscreenCanvasOptionType, targetLayer?: Group): void;
|
|
120
124
|
protected updateLayer(layerOpt: ILayerOptionType, targetLayer?: Group): void;
|
|
@@ -185,7 +189,7 @@ export declare abstract class LocalWork {
|
|
|
185
189
|
setWorkOptions(workId: string, opt: BaseShapeOptions): void;
|
|
186
190
|
createWorkShapeNode(opt: IActiveToolsDataType & {
|
|
187
191
|
workId: string;
|
|
188
|
-
}): import("../tools/text").TextShape | import("../tools").ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | import("../tools
|
|
192
|
+
}): import("../tools/text").TextShape | import("../tools").ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | import("../tools").BitMapEraserShape | import("../tools/pencilEraser").PencilEraserShape | import("../tools").SelectorShape | import("../tools").ImageShape | import("../tools/shadowSvg").ISvgShadowShape | undefined;
|
|
189
193
|
setToolsOpt(opt: IActiveToolsDataType): void;
|
|
190
194
|
getToolsOpt(): IActiveToolsDataType | undefined;
|
|
191
195
|
clearWorkShapeNodeCache(workId: string): void;
|
|
@@ -3,7 +3,7 @@ import { ISubWorkerInitOption } from "./base";
|
|
|
3
3
|
import { VNodeManager } from "../vNodeManager";
|
|
4
4
|
import { IBatchMainMessage, IRectType, IServiceWorkItem, IWorkerMessage } from "../types";
|
|
5
5
|
import { EToolsKey } from "../enum";
|
|
6
|
-
import { BaseShapeOptions
|
|
6
|
+
import { BaseShapeOptions } from "../tools";
|
|
7
7
|
import { WorkThreadEngineForFullWorker } from "./workerManager";
|
|
8
8
|
export interface ServiceWork {
|
|
9
9
|
readonly viewId: string;
|
|
@@ -39,6 +39,8 @@ export declare class ServiceWorkForFullWorker implements ServiceWork {
|
|
|
39
39
|
post: (msg: IBatchMainMessage) => Promise<void>;
|
|
40
40
|
private readonly animationScheduler;
|
|
41
41
|
private readonly effectScheduler;
|
|
42
|
+
private readonly imageRecovery;
|
|
43
|
+
private readonly readyImages;
|
|
42
44
|
constructor(opt: ISubWorkerInitOption);
|
|
43
45
|
destroy(): void;
|
|
44
46
|
clearAll(): void;
|
|
@@ -52,8 +54,8 @@ export declare class ServiceWorkForFullWorker implements ServiceWork {
|
|
|
52
54
|
private removeNode;
|
|
53
55
|
private activeWorkShape;
|
|
54
56
|
private hasDiffData;
|
|
57
|
+
protected renderServiceImage(key: string, workShape: IServiceWorkItem): Promise<IRectType | undefined>;
|
|
55
58
|
protected animationDraw(): Promise<void>;
|
|
56
|
-
protected syncMatrixRect(key: string, node: BaseShapeTool | undefined, rect?: IRectType): IRectType | undefined;
|
|
57
59
|
protected runAnimation(immediate?: boolean): void;
|
|
58
60
|
protected computNextAnimationIndex(workShape: IServiceWorkItem, pointUnit: number): number;
|
|
59
61
|
protected runEffect(): void;
|
|
@@ -2,7 +2,7 @@ import { EventWorkState, IActiveToolsDataType, IBatchMainMessage, IMainMessage,
|
|
|
2
2
|
import { ISubWorkerInitOption } from "./base";
|
|
3
3
|
import { LocalWorkForFullWorker } from "./fullWorkerLocal";
|
|
4
4
|
import { ServiceWorkForFullWorker } from "./fullWorkerService";
|
|
5
|
-
import { SelectorShape, BitMapEraserShape, ArrowShape
|
|
5
|
+
import { SelectorShape, BitMapEraserShape, ArrowShape } from "../tools";
|
|
6
6
|
import { PencilEraserShape } from "../tools/pencilEraser";
|
|
7
7
|
import { TextShape } from "../tools/text";
|
|
8
8
|
import { ISvgShadowShape } from "../tools/shadowSvg";
|
|
@@ -12,7 +12,7 @@ export declare class LocalWorkForSimpleWorker extends LocalWorkForFullWorker {
|
|
|
12
12
|
constructor(opt: ISubWorkerInitOption);
|
|
13
13
|
createWorkShapeNode(opt: IActiveToolsDataType & {
|
|
14
14
|
workId: string;
|
|
15
|
-
}): TextShape | ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape |
|
|
15
|
+
}): TextShape | ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | BitMapEraserShape | PencilEraserShape | SelectorShape | import("../tools").ImageShape | ISvgShadowShape | undefined;
|
|
16
16
|
protected drawPencil(res: IMainMessage, workId?: string): Promise<void>;
|
|
17
17
|
protected drawShape(res: IMainMessage): Promise<void>;
|
|
18
18
|
protected drawSelector(res: IMainMessage, workState: EventWorkState, isLockSentEventCursor?: boolean, render?: IMainMessageRenderData[]): Promise<void>;
|
|
@@ -28,11 +28,11 @@ export declare class TopLayerWorkForSubWorker implements TopLayerWork {
|
|
|
28
28
|
constructor(opt: ISubWorkerInitOption);
|
|
29
29
|
canUseTopLayer(toolsType: EToolsKey): toolsType is EToolsKey.LaserPen;
|
|
30
30
|
getWorkShape(workId: string): ILocalWorkItem | undefined;
|
|
31
|
-
createWorkShape(workId: string, opt?: BaseShapeOptions): import("../tools/text").TextShape | import("../tools").ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | import("../tools
|
|
31
|
+
createWorkShape(workId: string, opt?: BaseShapeOptions): import("../tools/text").TextShape | import("../tools").ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | import("../tools").BitMapEraserShape | import("../tools/pencilEraser").PencilEraserShape | import("../tools").SelectorShape | import("../tools").ImageShape | import("../tools/shadowSvg").ISvgShadowShape | undefined;
|
|
32
32
|
setWorkOptions(workId: string, opt: BaseShapeOptions): void;
|
|
33
33
|
createWorkShapeNode(opt: IActiveToolsDataType & {
|
|
34
34
|
workId: string;
|
|
35
|
-
}): import("../tools/text").TextShape | import("../tools").ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | import("../tools
|
|
35
|
+
}): import("../tools/text").TextShape | import("../tools").ArrowShape | import("../tools").PencilShape | import("../tools/straight").StraightShape | import("../tools").EllipseShape | import("../tools").PolygonShape | import("../tools").StarShape | import("../tools").RectangleShape | import("../tools").SpeechBalloonShape | import("../tools").LaserPenShape | import("../tools").EraserShape | import("../tools").BitMapEraserShape | import("../tools/pencilEraser").PencilEraserShape | import("../tools").SelectorShape | import("../tools").ImageShape | import("../tools/shadowSvg").ISvgShadowShape | undefined;
|
|
36
36
|
clearAllWorkShapesCache(): void;
|
|
37
37
|
setToolsOpt(opt: IActiveToolsDataType): void;
|
|
38
38
|
getToolsOpt(): IActiveToolsDataType | undefined;
|