@netless/appliance-plugin 1.1.43 → 1.1.44-beta.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.
Files changed (63) hide show
  1. package/dist/appliance-plugin.js +1 -1
  2. package/dist/appliance-plugin.mjs +12 -12
  3. package/dist/{bridge-GmRa7-tp.js → bridge-CskJoX5M.js} +1 -1
  4. package/dist/{bridge-D30E9dr6.mjs → bridge-rKHCYJ6m.mjs} +1 -1
  5. package/dist/bridge.js +1 -1
  6. package/dist/bridge.mjs +1 -1
  7. package/dist/collector/types.d.ts +3 -0
  8. package/dist/component/textEditor/types.d.ts +5 -0
  9. package/dist/core/mainEngine.d.ts +10 -2
  10. package/dist/core/mainThread/snapshotThread.d.ts +3 -2
  11. package/dist/core/mainThread/subLocalThread.d.ts +5 -2
  12. package/dist/core/mainThread/subServiceThread.d.ts +1 -0
  13. package/dist/core/mainThread/subTopThread.d.ts +2 -2
  14. package/dist/core/tools/arrow.d.ts +423 -1
  15. package/dist/core/tools/base.d.ts +444 -2
  16. package/dist/core/tools/ellipse.d.ts +423 -1
  17. package/dist/core/tools/eraser.d.ts +846 -2
  18. package/dist/core/tools/eraserFaces.d.ts +2 -0
  19. package/dist/core/tools/laserPen.d.ts +846 -2
  20. package/dist/core/tools/pencil.d.ts +848 -2
  21. package/dist/core/tools/pencilEraser.d.ts +1692 -4
  22. package/dist/core/tools/pencilEraserBitMap.d.ts +2115 -5
  23. package/dist/core/tools/polygon.d.ts +423 -1
  24. package/dist/core/tools/rectangle.d.ts +423 -1
  25. package/dist/core/tools/selector.d.ts +2121 -7
  26. package/dist/core/tools/speechBalloon.d.ts +423 -1
  27. package/dist/core/tools/star.d.ts +423 -1
  28. package/dist/core/tools/straight.d.ts +423 -1
  29. package/dist/core/tools/text.d.ts +3 -3
  30. package/dist/core/tools/utils.d.ts +2 -2
  31. package/dist/core/types.d.ts +9 -0
  32. package/dist/core/utils/affineMatrix.d.ts +33 -0
  33. package/dist/core/utils/fontFamily.d.ts +8 -0
  34. package/dist/core/utils/index.d.ts +2 -0
  35. package/dist/core/utils/selectorMatrix.d.ts +4 -0
  36. package/dist/core/utils/selectorRefresh.d.ts +8 -0
  37. package/dist/core/utils/textRaster.d.ts +2 -0
  38. package/dist/core/vNodeManager.d.ts +1 -1
  39. package/dist/core/worker/base.d.ts +1 -1
  40. package/dist/core/worker/fullWorkerLocal.d.ts +1 -0
  41. package/dist/core/worker/fullWorkerService.d.ts +2 -1
  42. package/dist/core/worker/simpleWorker.d.ts +1 -1
  43. package/dist/core/worker/subWorkerTopLayer.d.ts +2 -2
  44. package/dist/fullWorker.js +148 -147
  45. package/dist/index-B0SB7Efu.js +570 -0
  46. package/dist/index-BIVRfc_x.js +570 -0
  47. package/dist/{index-CQuJ6lL1.mjs → index-BbBSxLGe.mjs} +473 -442
  48. package/dist/index-Bzg5OMdP.js +1 -0
  49. package/dist/{index-Ct5ShjRI.js → index-C-tBYq0K.js} +1 -1
  50. package/dist/{index-CatWUcZt.mjs → index-Ca2t53R7.mjs} +1 -1
  51. package/dist/{index-rDe1jjPM.mjs → index-ConirzkM.mjs} +1 -1
  52. package/dist/index-CsNG_bzI.js +1 -0
  53. package/dist/{index-C-pO2InQ.mjs → index-DWevrjrE.mjs} +12001 -11664
  54. package/dist/{index-DYDy0dd5.mjs → index-LcCU1tMV.mjs} +473 -442
  55. package/dist/{index-DGdruTPt.js → index-ZMuKk-bl.js} +1 -1
  56. package/dist/{index-CrJWLjuD.mjs → index-_3yxgNoj.mjs} +19490 -19158
  57. package/dist/plugin/baseApplianceManager.d.ts +2 -2
  58. package/dist/subWorker.js +133 -132
  59. package/package.json +58 -56
  60. package/dist/index-B44Av4kp.js +0 -1
  61. package/dist/index-CKtpWZ9L.js +0 -1
  62. package/dist/index-DLzvL8jo.js +0 -570
  63. package/dist/index-LmgcnMI8.js +0 -570
@@ -30,7 +30,429 @@ export declare class EraserShape extends BaseShapeTool {
30
30
  }): {
31
31
  workId: string;
32
32
  toolsType: EToolsKey;
33
- opt: import("./utils").ShapeOptions;
33
+ opt: {
34
+ matrix: import("../utils").AffineMatrix;
35
+ fontColor: string;
36
+ fontSize: number;
37
+ text: string;
38
+ textAlign: import("../../component/textEditor").TextAlignType;
39
+ verticalAlign: import("../../component/textEditor").VerticalAlignType;
40
+ lineHeight?: number;
41
+ fontFamily?: string;
42
+ bold?: import("../../component/textEditor").FontWeightType;
43
+ italic?: import("../../component/textEditor").FontStyleType;
44
+ fontBgColor?: string;
45
+ underline?: boolean;
46
+ lineThrough?: boolean;
47
+ boxPoint?: [number, number];
48
+ boxSize?: [number, number];
49
+ workState?: import("..").EventWorkState;
50
+ uid?: string;
51
+ isOpacity?: boolean;
52
+ strokeColor?: string;
53
+ fillColor?: string;
54
+ vertex?: string;
55
+ fragment?: string;
56
+ syncUnitTime?: number;
57
+ zIndex?: number;
58
+ scale?: [number, number];
59
+ rotate?: number;
60
+ thickness?: number;
61
+ textOpt?: import("../../component/textEditor").TextOptions;
62
+ translate?: [number, number];
63
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
64
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
65
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
66
+ lineCap?: "square" | "round";
67
+ lineDash?: [number, number];
68
+ } | {
69
+ matrix: import("../utils").AffineMatrix;
70
+ thickness: number;
71
+ strokeColor: string;
72
+ strokeType: import("../..").EStrokeType;
73
+ autoShape?: boolean;
74
+ previewLocalOnly?: boolean;
75
+ isOpacity?: boolean;
76
+ fontColor?: string;
77
+ fontBgColor?: string;
78
+ fillColor?: string;
79
+ vertex?: string;
80
+ fragment?: string;
81
+ syncUnitTime?: number;
82
+ zIndex?: number;
83
+ scale?: [number, number];
84
+ rotate?: number;
85
+ textOpt?: import("../../component/textEditor").TextOptions;
86
+ translate?: [number, number];
87
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
88
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
89
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
90
+ lineCap?: "square" | "round";
91
+ lineDash?: [number, number];
92
+ } | {
93
+ matrix: import("../utils").AffineMatrix;
94
+ thickness: number;
95
+ duration: number;
96
+ strokeColor: string;
97
+ strokeType: Omit<import("../..").EStrokeType, "Stroke">;
98
+ isOpacity?: boolean;
99
+ fontColor?: string;
100
+ fontBgColor?: string;
101
+ fillColor?: string;
102
+ vertex?: string;
103
+ fragment?: string;
104
+ syncUnitTime?: number;
105
+ zIndex?: number;
106
+ scale?: [number, number];
107
+ rotate?: number;
108
+ textOpt?: import("../../component/textEditor").TextOptions;
109
+ translate?: [number, number];
110
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
111
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
112
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
113
+ lineCap?: "square" | "round";
114
+ lineDash?: [number, number];
115
+ } | {
116
+ matrix: import("../utils").AffineMatrix;
117
+ thickness: number;
118
+ isOpacity?: boolean;
119
+ fontColor?: string;
120
+ fontBgColor?: string;
121
+ strokeColor?: string;
122
+ fillColor?: string;
123
+ vertex?: string;
124
+ fragment?: string;
125
+ syncUnitTime?: number;
126
+ zIndex?: number;
127
+ scale?: [number, number];
128
+ rotate?: number;
129
+ textOpt?: import("../../component/textEditor").TextOptions;
130
+ translate?: [number, number];
131
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
132
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
133
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
134
+ lineCap?: "square" | "round";
135
+ lineDash?: [number, number];
136
+ } | {
137
+ matrix: import("../utils").AffineMatrix;
138
+ thickness: number;
139
+ maxImageWidth?: number;
140
+ maxImageHeight?: number;
141
+ removeOnDone?: boolean;
142
+ isOpacity?: boolean;
143
+ fontColor?: string;
144
+ fontBgColor?: string;
145
+ strokeColor?: string;
146
+ fillColor?: string;
147
+ vertex?: string;
148
+ fragment?: string;
149
+ syncUnitTime?: number;
150
+ zIndex?: number;
151
+ scale?: [number, number];
152
+ rotate?: number;
153
+ textOpt?: import("../../component/textEditor").TextOptions;
154
+ translate?: [number, number];
155
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
156
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
157
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
158
+ lineCap?: "square" | "round";
159
+ lineDash?: [number, number];
160
+ } | {
161
+ matrix: import("../utils").AffineMatrix;
162
+ thickness: number;
163
+ isOpacity?: boolean;
164
+ fontColor?: string;
165
+ fontBgColor?: string;
166
+ strokeColor?: string;
167
+ fillColor?: string;
168
+ vertex?: string;
169
+ fragment?: string;
170
+ syncUnitTime?: number;
171
+ zIndex?: number;
172
+ scale?: [number, number];
173
+ rotate?: number;
174
+ textOpt?: import("../../component/textEditor").TextOptions;
175
+ translate?: [number, number];
176
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
177
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
178
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
179
+ lineCap?: "square" | "round";
180
+ lineDash?: [number, number];
181
+ } | {
182
+ matrix: import("../utils").AffineMatrix;
183
+ thickness: number;
184
+ vertices: number;
185
+ innerVerticeStep: number;
186
+ innerRatio: number;
187
+ strokeColor: string;
188
+ fillColor: string;
189
+ strokeType: import("../..").EStrokeType;
190
+ isOpacity?: boolean;
191
+ fontColor?: string;
192
+ fontBgColor?: string;
193
+ vertex?: string;
194
+ fragment?: string;
195
+ syncUnitTime?: number;
196
+ zIndex?: number;
197
+ scale?: [number, number];
198
+ rotate?: number;
199
+ textOpt?: import("../../component/textEditor").TextOptions;
200
+ translate?: [number, number];
201
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
202
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
203
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
204
+ lineCap?: "square" | "round";
205
+ lineDash?: [number, number];
206
+ } | {
207
+ matrix: import("../utils").AffineMatrix;
208
+ isOpacity?: boolean;
209
+ fontColor?: string;
210
+ fontBgColor?: string;
211
+ strokeColor?: string;
212
+ fillColor?: string;
213
+ vertex?: string;
214
+ fragment?: string;
215
+ syncUnitTime?: number;
216
+ zIndex?: number;
217
+ scale?: [number, number];
218
+ rotate?: number;
219
+ thickness?: number;
220
+ textOpt?: import("../../component/textEditor").TextOptions;
221
+ translate?: [number, number];
222
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
223
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
224
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
225
+ lineCap?: "square" | "round";
226
+ lineDash?: [number, number];
227
+ } | {
228
+ matrix: import("../utils").AffineMatrix;
229
+ thickness: number;
230
+ strokeColor: string;
231
+ strokeType: import("../..").EStrokeType;
232
+ isOpacity?: boolean;
233
+ fontColor?: string;
234
+ fontBgColor?: string;
235
+ fillColor?: string;
236
+ vertex?: string;
237
+ fragment?: string;
238
+ syncUnitTime?: number;
239
+ zIndex?: number;
240
+ scale?: [number, number];
241
+ rotate?: number;
242
+ textOpt?: import("../../component/textEditor").TextOptions;
243
+ translate?: [number, number];
244
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
245
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
246
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
247
+ lineCap?: "square" | "round";
248
+ lineDash?: [number, number];
249
+ } | {
250
+ matrix: import("../utils").AffineMatrix;
251
+ thickness: number;
252
+ strokeColor: string;
253
+ fillColor: string;
254
+ strokeType: import("../..").EStrokeType;
255
+ isOpacity?: boolean;
256
+ fontColor?: string;
257
+ fontBgColor?: string;
258
+ vertex?: string;
259
+ fragment?: string;
260
+ syncUnitTime?: number;
261
+ zIndex?: number;
262
+ scale?: [number, number];
263
+ rotate?: number;
264
+ textOpt?: import("../../component/textEditor").TextOptions;
265
+ translate?: [number, number];
266
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
267
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
268
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
269
+ lineCap?: "square" | "round";
270
+ lineDash?: [number, number];
271
+ } | {
272
+ matrix: import("../utils").AffineMatrix;
273
+ thickness: number;
274
+ strokeColor: string;
275
+ fillColor: string;
276
+ strokeType: import("../..").EStrokeType;
277
+ isOpacity?: boolean;
278
+ fontColor?: string;
279
+ fontBgColor?: string;
280
+ vertex?: string;
281
+ fragment?: string;
282
+ syncUnitTime?: number;
283
+ zIndex?: number;
284
+ scale?: [number, number];
285
+ rotate?: number;
286
+ textOpt?: import("../../component/textEditor").TextOptions;
287
+ translate?: [number, number];
288
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
289
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
290
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
291
+ lineCap?: "square" | "round";
292
+ lineDash?: [number, number];
293
+ } | {
294
+ matrix: import("../utils").AffineMatrix;
295
+ thickness: number;
296
+ vertices: number;
297
+ strokeColor: string;
298
+ fillColor: string;
299
+ strokeType: import("../..").EStrokeType;
300
+ isOpacity?: boolean;
301
+ fontColor?: string;
302
+ fontBgColor?: string;
303
+ vertex?: string;
304
+ fragment?: string;
305
+ syncUnitTime?: number;
306
+ zIndex?: number;
307
+ scale?: [number, number];
308
+ rotate?: number;
309
+ textOpt?: import("../../component/textEditor").TextOptions;
310
+ translate?: [number, number];
311
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
312
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
313
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
314
+ lineCap?: "square" | "round";
315
+ lineDash?: [number, number];
316
+ } | {
317
+ matrix: import("../utils").AffineMatrix;
318
+ thickness: number;
319
+ strokeColor: string;
320
+ strokeType: import("../..").EStrokeType;
321
+ isOpacity?: boolean;
322
+ fontColor?: string;
323
+ fontBgColor?: string;
324
+ fillColor?: string;
325
+ vertex?: string;
326
+ fragment?: string;
327
+ syncUnitTime?: number;
328
+ zIndex?: number;
329
+ scale?: [number, number];
330
+ rotate?: number;
331
+ textOpt?: import("../../component/textEditor").TextOptions;
332
+ translate?: [number, number];
333
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
334
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
335
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
336
+ lineCap?: "square" | "round";
337
+ lineDash?: [number, number];
338
+ } | {
339
+ matrix: import("../utils").AffineMatrix;
340
+ thickness: number;
341
+ placement: import("../..").SpeechBalloonPlacement;
342
+ strokeColor: string;
343
+ fillColor: string;
344
+ strokeType: import("../..").EStrokeType;
345
+ isOpacity?: boolean;
346
+ fontColor?: string;
347
+ fontBgColor?: string;
348
+ vertex?: string;
349
+ fragment?: string;
350
+ syncUnitTime?: number;
351
+ zIndex?: number;
352
+ scale?: [number, number];
353
+ rotate?: number;
354
+ textOpt?: import("../../component/textEditor").TextOptions;
355
+ translate?: [number, number];
356
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
357
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
358
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
359
+ lineCap?: "square" | "round";
360
+ lineDash?: [number, number];
361
+ } | {
362
+ matrix: import("../utils").AffineMatrix;
363
+ src: string;
364
+ type: import("..").EImageType;
365
+ uuid: string;
366
+ centerX: number;
367
+ centerY: number;
368
+ width: number;
369
+ height: number;
370
+ locked: boolean;
371
+ uniformScale?: boolean;
372
+ crossOrigin?: boolean | string;
373
+ isOpacity?: boolean;
374
+ fontColor?: string;
375
+ fontBgColor?: string;
376
+ strokeColor?: string;
377
+ fillColor?: string;
378
+ vertex?: string;
379
+ fragment?: string;
380
+ syncUnitTime?: number;
381
+ zIndex?: number;
382
+ scale?: [number, number];
383
+ rotate?: number;
384
+ thickness?: number;
385
+ textOpt?: import("../../component/textEditor").TextOptions;
386
+ translate?: [number, number];
387
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
388
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
389
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
390
+ lineCap?: "square" | "round";
391
+ lineDash?: [number, number];
392
+ } | {
393
+ matrix: import("../utils").AffineMatrix;
394
+ type: import("..").ESVGType.url;
395
+ src: string;
396
+ crossOrigin: boolean | string;
397
+ uuid: string;
398
+ centerX: number;
399
+ centerY: number;
400
+ width: number;
401
+ height: number;
402
+ locked: boolean;
403
+ uniformScale: boolean;
404
+ state?: unknown;
405
+ isOpacity?: boolean;
406
+ fontColor?: string;
407
+ fontBgColor?: string;
408
+ strokeColor?: string;
409
+ fillColor?: string;
410
+ vertex?: string;
411
+ fragment?: string;
412
+ syncUnitTime?: number;
413
+ zIndex?: number;
414
+ scale?: [number, number];
415
+ rotate?: number;
416
+ thickness?: number;
417
+ textOpt?: import("../../component/textEditor").TextOptions;
418
+ translate?: [number, number];
419
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
420
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
421
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
422
+ lineCap?: "square" | "round";
423
+ lineDash?: [number, number];
424
+ } | {
425
+ matrix: import("../utils").AffineMatrix;
426
+ type: import("..").ESVGType.markmap;
427
+ data: string;
428
+ uuid: string;
429
+ centerX: number;
430
+ centerY: number;
431
+ width: number;
432
+ height: number;
433
+ locked: boolean;
434
+ uniformScale: boolean;
435
+ state?: unknown;
436
+ isOpacity?: boolean;
437
+ fontColor?: string;
438
+ fontBgColor?: string;
439
+ strokeColor?: string;
440
+ fillColor?: string;
441
+ vertex?: string;
442
+ fragment?: string;
443
+ syncUnitTime?: number;
444
+ zIndex?: number;
445
+ scale?: [number, number];
446
+ rotate?: number;
447
+ thickness?: number;
448
+ textOpt?: import("../../component/textEditor").TextOptions;
449
+ translate?: [number, number];
450
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
451
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
452
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
453
+ lineCap?: "square" | "round";
454
+ lineDash?: [number, number];
455
+ };
34
456
  type: EPostMessageType;
35
457
  rect?: undefined;
36
458
  removeIds?: undefined;
@@ -44,7 +466,429 @@ export declare class EraserShape extends BaseShapeTool {
44
466
  }): {
45
467
  workId: string;
46
468
  toolsType: EToolsKey;
47
- opt: import("./utils").ShapeOptions;
469
+ opt: {
470
+ matrix: import("../utils").AffineMatrix;
471
+ fontColor: string;
472
+ fontSize: number;
473
+ text: string;
474
+ textAlign: import("../../component/textEditor").TextAlignType;
475
+ verticalAlign: import("../../component/textEditor").VerticalAlignType;
476
+ lineHeight?: number;
477
+ fontFamily?: string;
478
+ bold?: import("../../component/textEditor").FontWeightType;
479
+ italic?: import("../../component/textEditor").FontStyleType;
480
+ fontBgColor?: string;
481
+ underline?: boolean;
482
+ lineThrough?: boolean;
483
+ boxPoint?: [number, number];
484
+ boxSize?: [number, number];
485
+ workState?: import("..").EventWorkState;
486
+ uid?: string;
487
+ isOpacity?: boolean;
488
+ strokeColor?: string;
489
+ fillColor?: string;
490
+ vertex?: string;
491
+ fragment?: string;
492
+ syncUnitTime?: number;
493
+ zIndex?: number;
494
+ scale?: [number, number];
495
+ rotate?: number;
496
+ thickness?: number;
497
+ textOpt?: import("../../component/textEditor").TextOptions;
498
+ translate?: [number, number];
499
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
500
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
501
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
502
+ lineCap?: "square" | "round";
503
+ lineDash?: [number, number];
504
+ } | {
505
+ matrix: import("../utils").AffineMatrix;
506
+ thickness: number;
507
+ strokeColor: string;
508
+ strokeType: import("../..").EStrokeType;
509
+ autoShape?: boolean;
510
+ previewLocalOnly?: boolean;
511
+ isOpacity?: boolean;
512
+ fontColor?: string;
513
+ fontBgColor?: string;
514
+ fillColor?: string;
515
+ vertex?: string;
516
+ fragment?: string;
517
+ syncUnitTime?: number;
518
+ zIndex?: number;
519
+ scale?: [number, number];
520
+ rotate?: number;
521
+ textOpt?: import("../../component/textEditor").TextOptions;
522
+ translate?: [number, number];
523
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
524
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
525
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
526
+ lineCap?: "square" | "round";
527
+ lineDash?: [number, number];
528
+ } | {
529
+ matrix: import("../utils").AffineMatrix;
530
+ thickness: number;
531
+ duration: number;
532
+ strokeColor: string;
533
+ strokeType: Omit<import("../..").EStrokeType, "Stroke">;
534
+ isOpacity?: boolean;
535
+ fontColor?: string;
536
+ fontBgColor?: string;
537
+ fillColor?: string;
538
+ vertex?: string;
539
+ fragment?: string;
540
+ syncUnitTime?: number;
541
+ zIndex?: number;
542
+ scale?: [number, number];
543
+ rotate?: number;
544
+ textOpt?: import("../../component/textEditor").TextOptions;
545
+ translate?: [number, number];
546
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
547
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
548
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
549
+ lineCap?: "square" | "round";
550
+ lineDash?: [number, number];
551
+ } | {
552
+ matrix: import("../utils").AffineMatrix;
553
+ thickness: number;
554
+ isOpacity?: boolean;
555
+ fontColor?: string;
556
+ fontBgColor?: string;
557
+ strokeColor?: string;
558
+ fillColor?: string;
559
+ vertex?: string;
560
+ fragment?: string;
561
+ syncUnitTime?: number;
562
+ zIndex?: number;
563
+ scale?: [number, number];
564
+ rotate?: number;
565
+ textOpt?: import("../../component/textEditor").TextOptions;
566
+ translate?: [number, number];
567
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
568
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
569
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
570
+ lineCap?: "square" | "round";
571
+ lineDash?: [number, number];
572
+ } | {
573
+ matrix: import("../utils").AffineMatrix;
574
+ thickness: number;
575
+ maxImageWidth?: number;
576
+ maxImageHeight?: number;
577
+ removeOnDone?: boolean;
578
+ isOpacity?: boolean;
579
+ fontColor?: string;
580
+ fontBgColor?: string;
581
+ strokeColor?: string;
582
+ fillColor?: string;
583
+ vertex?: string;
584
+ fragment?: string;
585
+ syncUnitTime?: number;
586
+ zIndex?: number;
587
+ scale?: [number, number];
588
+ rotate?: number;
589
+ textOpt?: import("../../component/textEditor").TextOptions;
590
+ translate?: [number, number];
591
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
592
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
593
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
594
+ lineCap?: "square" | "round";
595
+ lineDash?: [number, number];
596
+ } | {
597
+ matrix: import("../utils").AffineMatrix;
598
+ thickness: number;
599
+ isOpacity?: boolean;
600
+ fontColor?: string;
601
+ fontBgColor?: string;
602
+ strokeColor?: string;
603
+ fillColor?: string;
604
+ vertex?: string;
605
+ fragment?: string;
606
+ syncUnitTime?: number;
607
+ zIndex?: number;
608
+ scale?: [number, number];
609
+ rotate?: number;
610
+ textOpt?: import("../../component/textEditor").TextOptions;
611
+ translate?: [number, number];
612
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
613
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
614
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
615
+ lineCap?: "square" | "round";
616
+ lineDash?: [number, number];
617
+ } | {
618
+ matrix: import("../utils").AffineMatrix;
619
+ thickness: number;
620
+ vertices: number;
621
+ innerVerticeStep: number;
622
+ innerRatio: number;
623
+ strokeColor: string;
624
+ fillColor: string;
625
+ strokeType: import("../..").EStrokeType;
626
+ isOpacity?: boolean;
627
+ fontColor?: string;
628
+ fontBgColor?: string;
629
+ vertex?: string;
630
+ fragment?: string;
631
+ syncUnitTime?: number;
632
+ zIndex?: number;
633
+ scale?: [number, number];
634
+ rotate?: number;
635
+ textOpt?: import("../../component/textEditor").TextOptions;
636
+ translate?: [number, number];
637
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
638
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
639
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
640
+ lineCap?: "square" | "round";
641
+ lineDash?: [number, number];
642
+ } | {
643
+ matrix: import("../utils").AffineMatrix;
644
+ isOpacity?: boolean;
645
+ fontColor?: string;
646
+ fontBgColor?: string;
647
+ strokeColor?: string;
648
+ fillColor?: string;
649
+ vertex?: string;
650
+ fragment?: string;
651
+ syncUnitTime?: number;
652
+ zIndex?: number;
653
+ scale?: [number, number];
654
+ rotate?: number;
655
+ thickness?: number;
656
+ textOpt?: import("../../component/textEditor").TextOptions;
657
+ translate?: [number, number];
658
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
659
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
660
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
661
+ lineCap?: "square" | "round";
662
+ lineDash?: [number, number];
663
+ } | {
664
+ matrix: import("../utils").AffineMatrix;
665
+ thickness: number;
666
+ strokeColor: string;
667
+ strokeType: import("../..").EStrokeType;
668
+ isOpacity?: boolean;
669
+ fontColor?: string;
670
+ fontBgColor?: string;
671
+ fillColor?: string;
672
+ vertex?: string;
673
+ fragment?: string;
674
+ syncUnitTime?: number;
675
+ zIndex?: number;
676
+ scale?: [number, number];
677
+ rotate?: number;
678
+ textOpt?: import("../../component/textEditor").TextOptions;
679
+ translate?: [number, number];
680
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
681
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
682
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
683
+ lineCap?: "square" | "round";
684
+ lineDash?: [number, number];
685
+ } | {
686
+ matrix: import("../utils").AffineMatrix;
687
+ thickness: number;
688
+ strokeColor: string;
689
+ fillColor: string;
690
+ strokeType: import("../..").EStrokeType;
691
+ isOpacity?: boolean;
692
+ fontColor?: string;
693
+ fontBgColor?: string;
694
+ vertex?: string;
695
+ fragment?: string;
696
+ syncUnitTime?: number;
697
+ zIndex?: number;
698
+ scale?: [number, number];
699
+ rotate?: number;
700
+ textOpt?: import("../../component/textEditor").TextOptions;
701
+ translate?: [number, number];
702
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
703
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
704
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
705
+ lineCap?: "square" | "round";
706
+ lineDash?: [number, number];
707
+ } | {
708
+ matrix: import("../utils").AffineMatrix;
709
+ thickness: number;
710
+ strokeColor: string;
711
+ fillColor: string;
712
+ strokeType: import("../..").EStrokeType;
713
+ isOpacity?: boolean;
714
+ fontColor?: string;
715
+ fontBgColor?: string;
716
+ vertex?: string;
717
+ fragment?: string;
718
+ syncUnitTime?: number;
719
+ zIndex?: number;
720
+ scale?: [number, number];
721
+ rotate?: number;
722
+ textOpt?: import("../../component/textEditor").TextOptions;
723
+ translate?: [number, number];
724
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
725
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
726
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
727
+ lineCap?: "square" | "round";
728
+ lineDash?: [number, number];
729
+ } | {
730
+ matrix: import("../utils").AffineMatrix;
731
+ thickness: number;
732
+ vertices: number;
733
+ strokeColor: string;
734
+ fillColor: string;
735
+ strokeType: import("../..").EStrokeType;
736
+ isOpacity?: boolean;
737
+ fontColor?: string;
738
+ fontBgColor?: string;
739
+ vertex?: string;
740
+ fragment?: string;
741
+ syncUnitTime?: number;
742
+ zIndex?: number;
743
+ scale?: [number, number];
744
+ rotate?: number;
745
+ textOpt?: import("../../component/textEditor").TextOptions;
746
+ translate?: [number, number];
747
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
748
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
749
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
750
+ lineCap?: "square" | "round";
751
+ lineDash?: [number, number];
752
+ } | {
753
+ matrix: import("../utils").AffineMatrix;
754
+ thickness: number;
755
+ strokeColor: string;
756
+ strokeType: import("../..").EStrokeType;
757
+ isOpacity?: boolean;
758
+ fontColor?: string;
759
+ fontBgColor?: string;
760
+ fillColor?: string;
761
+ vertex?: string;
762
+ fragment?: string;
763
+ syncUnitTime?: number;
764
+ zIndex?: number;
765
+ scale?: [number, number];
766
+ rotate?: number;
767
+ textOpt?: import("../../component/textEditor").TextOptions;
768
+ translate?: [number, number];
769
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
770
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
771
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
772
+ lineCap?: "square" | "round";
773
+ lineDash?: [number, number];
774
+ } | {
775
+ matrix: import("../utils").AffineMatrix;
776
+ thickness: number;
777
+ placement: import("../..").SpeechBalloonPlacement;
778
+ strokeColor: string;
779
+ fillColor: string;
780
+ strokeType: import("../..").EStrokeType;
781
+ isOpacity?: boolean;
782
+ fontColor?: string;
783
+ fontBgColor?: string;
784
+ vertex?: string;
785
+ fragment?: string;
786
+ syncUnitTime?: number;
787
+ zIndex?: number;
788
+ scale?: [number, number];
789
+ rotate?: number;
790
+ textOpt?: import("../../component/textEditor").TextOptions;
791
+ translate?: [number, number];
792
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
793
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
794
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
795
+ lineCap?: "square" | "round";
796
+ lineDash?: [number, number];
797
+ } | {
798
+ matrix: import("../utils").AffineMatrix;
799
+ src: string;
800
+ type: import("..").EImageType;
801
+ uuid: string;
802
+ centerX: number;
803
+ centerY: number;
804
+ width: number;
805
+ height: number;
806
+ locked: boolean;
807
+ uniformScale?: boolean;
808
+ crossOrigin?: boolean | string;
809
+ isOpacity?: boolean;
810
+ fontColor?: string;
811
+ fontBgColor?: string;
812
+ strokeColor?: string;
813
+ fillColor?: string;
814
+ vertex?: string;
815
+ fragment?: string;
816
+ syncUnitTime?: number;
817
+ zIndex?: number;
818
+ scale?: [number, number];
819
+ rotate?: number;
820
+ thickness?: number;
821
+ textOpt?: import("../../component/textEditor").TextOptions;
822
+ translate?: [number, number];
823
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
824
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
825
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
826
+ lineCap?: "square" | "round";
827
+ lineDash?: [number, number];
828
+ } | {
829
+ matrix: import("../utils").AffineMatrix;
830
+ type: import("..").ESVGType.url;
831
+ src: string;
832
+ crossOrigin: boolean | string;
833
+ uuid: string;
834
+ centerX: number;
835
+ centerY: number;
836
+ width: number;
837
+ height: number;
838
+ locked: boolean;
839
+ uniformScale: boolean;
840
+ state?: unknown;
841
+ isOpacity?: boolean;
842
+ fontColor?: string;
843
+ fontBgColor?: string;
844
+ strokeColor?: string;
845
+ fillColor?: string;
846
+ vertex?: string;
847
+ fragment?: string;
848
+ syncUnitTime?: number;
849
+ zIndex?: number;
850
+ scale?: [number, number];
851
+ rotate?: number;
852
+ thickness?: number;
853
+ textOpt?: import("../../component/textEditor").TextOptions;
854
+ translate?: [number, number];
855
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
856
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
857
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
858
+ lineCap?: "square" | "round";
859
+ lineDash?: [number, number];
860
+ } | {
861
+ matrix: import("../utils").AffineMatrix;
862
+ type: import("..").ESVGType.markmap;
863
+ data: string;
864
+ uuid: string;
865
+ centerX: number;
866
+ centerY: number;
867
+ width: number;
868
+ height: number;
869
+ locked: boolean;
870
+ uniformScale: boolean;
871
+ state?: unknown;
872
+ isOpacity?: boolean;
873
+ fontColor?: string;
874
+ fontBgColor?: string;
875
+ strokeColor?: string;
876
+ fillColor?: string;
877
+ vertex?: string;
878
+ fragment?: string;
879
+ syncUnitTime?: number;
880
+ zIndex?: number;
881
+ scale?: [number, number];
882
+ rotate?: number;
883
+ thickness?: number;
884
+ textOpt?: import("../../component/textEditor").TextOptions;
885
+ translate?: [number, number];
886
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
887
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
888
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
889
+ lineCap?: "square" | "round";
890
+ lineDash?: [number, number];
891
+ };
48
892
  type: EPostMessageType;
49
893
  rect?: undefined;
50
894
  removeIds?: undefined;