@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 LaserPenShape 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: 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<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: 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: 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: 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: 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: 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: 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: 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
  rect: {
35
457
  x: number;
36
458
  y: number;
@@ -45,7 +467,429 @@ export declare class LaserPenShape extends BaseShapeTool {
45
467
  consumeAll(): {
46
468
  workId: string;
47
469
  toolsType: EToolsKey;
48
- opt: import("./utils").ShapeOptions;
470
+ opt: {
471
+ matrix: import("../utils").AffineMatrix;
472
+ fontColor: string;
473
+ fontSize: number;
474
+ text: string;
475
+ textAlign: import("../../component/textEditor").TextAlignType;
476
+ verticalAlign: import("../../component/textEditor").VerticalAlignType;
477
+ lineHeight?: number;
478
+ fontFamily?: string;
479
+ bold?: import("../../component/textEditor").FontWeightType;
480
+ italic?: import("../../component/textEditor").FontStyleType;
481
+ fontBgColor?: string;
482
+ underline?: boolean;
483
+ lineThrough?: boolean;
484
+ boxPoint?: [number, number];
485
+ boxSize?: [number, number];
486
+ workState?: import("..").EventWorkState;
487
+ uid?: string;
488
+ isOpacity?: boolean;
489
+ strokeColor?: string;
490
+ fillColor?: string;
491
+ vertex?: string;
492
+ fragment?: string;
493
+ syncUnitTime?: number;
494
+ zIndex?: number;
495
+ scale?: [number, number];
496
+ rotate?: number;
497
+ thickness?: number;
498
+ textOpt?: import("../../component/textEditor").TextOptions;
499
+ translate?: [number, number];
500
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
501
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
502
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
503
+ lineCap?: "square" | "round";
504
+ lineDash?: [number, number];
505
+ } | {
506
+ matrix: import("../utils").AffineMatrix;
507
+ thickness: number;
508
+ strokeColor: string;
509
+ strokeType: EStrokeType;
510
+ autoShape?: boolean;
511
+ previewLocalOnly?: boolean;
512
+ isOpacity?: boolean;
513
+ fontColor?: string;
514
+ fontBgColor?: string;
515
+ fillColor?: string;
516
+ vertex?: string;
517
+ fragment?: string;
518
+ syncUnitTime?: number;
519
+ zIndex?: number;
520
+ scale?: [number, number];
521
+ rotate?: number;
522
+ textOpt?: import("../../component/textEditor").TextOptions;
523
+ translate?: [number, number];
524
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
525
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
526
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
527
+ lineCap?: "square" | "round";
528
+ lineDash?: [number, number];
529
+ } | {
530
+ matrix: import("../utils").AffineMatrix;
531
+ thickness: number;
532
+ duration: number;
533
+ strokeColor: string;
534
+ strokeType: Omit<EStrokeType, "Stroke">;
535
+ isOpacity?: boolean;
536
+ fontColor?: string;
537
+ fontBgColor?: string;
538
+ fillColor?: string;
539
+ vertex?: string;
540
+ fragment?: string;
541
+ syncUnitTime?: number;
542
+ zIndex?: number;
543
+ scale?: [number, number];
544
+ rotate?: number;
545
+ textOpt?: import("../../component/textEditor").TextOptions;
546
+ translate?: [number, number];
547
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
548
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
549
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
550
+ lineCap?: "square" | "round";
551
+ lineDash?: [number, number];
552
+ } | {
553
+ matrix: import("../utils").AffineMatrix;
554
+ thickness: number;
555
+ isOpacity?: boolean;
556
+ fontColor?: string;
557
+ fontBgColor?: string;
558
+ strokeColor?: string;
559
+ fillColor?: string;
560
+ vertex?: string;
561
+ fragment?: string;
562
+ syncUnitTime?: number;
563
+ zIndex?: number;
564
+ scale?: [number, number];
565
+ rotate?: number;
566
+ textOpt?: import("../../component/textEditor").TextOptions;
567
+ translate?: [number, number];
568
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
569
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
570
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
571
+ lineCap?: "square" | "round";
572
+ lineDash?: [number, number];
573
+ } | {
574
+ matrix: import("../utils").AffineMatrix;
575
+ thickness: number;
576
+ maxImageWidth?: number;
577
+ maxImageHeight?: number;
578
+ removeOnDone?: boolean;
579
+ isOpacity?: boolean;
580
+ fontColor?: string;
581
+ fontBgColor?: string;
582
+ strokeColor?: string;
583
+ fillColor?: string;
584
+ vertex?: string;
585
+ fragment?: string;
586
+ syncUnitTime?: number;
587
+ zIndex?: number;
588
+ scale?: [number, number];
589
+ rotate?: number;
590
+ textOpt?: import("../../component/textEditor").TextOptions;
591
+ translate?: [number, number];
592
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
593
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
594
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
595
+ lineCap?: "square" | "round";
596
+ lineDash?: [number, number];
597
+ } | {
598
+ matrix: import("../utils").AffineMatrix;
599
+ thickness: number;
600
+ isOpacity?: boolean;
601
+ fontColor?: string;
602
+ fontBgColor?: string;
603
+ strokeColor?: string;
604
+ fillColor?: string;
605
+ vertex?: string;
606
+ fragment?: string;
607
+ syncUnitTime?: number;
608
+ zIndex?: number;
609
+ scale?: [number, number];
610
+ rotate?: number;
611
+ textOpt?: import("../../component/textEditor").TextOptions;
612
+ translate?: [number, number];
613
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
614
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
615
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
616
+ lineCap?: "square" | "round";
617
+ lineDash?: [number, number];
618
+ } | {
619
+ matrix: import("../utils").AffineMatrix;
620
+ thickness: number;
621
+ vertices: number;
622
+ innerVerticeStep: number;
623
+ innerRatio: number;
624
+ strokeColor: string;
625
+ fillColor: string;
626
+ strokeType: EStrokeType;
627
+ isOpacity?: boolean;
628
+ fontColor?: string;
629
+ fontBgColor?: string;
630
+ vertex?: string;
631
+ fragment?: string;
632
+ syncUnitTime?: number;
633
+ zIndex?: number;
634
+ scale?: [number, number];
635
+ rotate?: number;
636
+ textOpt?: import("../../component/textEditor").TextOptions;
637
+ translate?: [number, number];
638
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
639
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
640
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
641
+ lineCap?: "square" | "round";
642
+ lineDash?: [number, number];
643
+ } | {
644
+ matrix: import("../utils").AffineMatrix;
645
+ isOpacity?: boolean;
646
+ fontColor?: string;
647
+ fontBgColor?: string;
648
+ strokeColor?: string;
649
+ fillColor?: string;
650
+ vertex?: string;
651
+ fragment?: string;
652
+ syncUnitTime?: number;
653
+ zIndex?: number;
654
+ scale?: [number, number];
655
+ rotate?: number;
656
+ thickness?: number;
657
+ textOpt?: import("../../component/textEditor").TextOptions;
658
+ translate?: [number, number];
659
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
660
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
661
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
662
+ lineCap?: "square" | "round";
663
+ lineDash?: [number, number];
664
+ } | {
665
+ matrix: import("../utils").AffineMatrix;
666
+ thickness: number;
667
+ strokeColor: string;
668
+ strokeType: EStrokeType;
669
+ isOpacity?: boolean;
670
+ fontColor?: string;
671
+ fontBgColor?: string;
672
+ fillColor?: string;
673
+ vertex?: string;
674
+ fragment?: string;
675
+ syncUnitTime?: number;
676
+ zIndex?: number;
677
+ scale?: [number, number];
678
+ rotate?: number;
679
+ textOpt?: import("../../component/textEditor").TextOptions;
680
+ translate?: [number, number];
681
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
682
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
683
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
684
+ lineCap?: "square" | "round";
685
+ lineDash?: [number, number];
686
+ } | {
687
+ matrix: import("../utils").AffineMatrix;
688
+ thickness: number;
689
+ strokeColor: string;
690
+ fillColor: string;
691
+ strokeType: EStrokeType;
692
+ isOpacity?: boolean;
693
+ fontColor?: string;
694
+ fontBgColor?: string;
695
+ vertex?: string;
696
+ fragment?: string;
697
+ syncUnitTime?: number;
698
+ zIndex?: number;
699
+ scale?: [number, number];
700
+ rotate?: number;
701
+ textOpt?: import("../../component/textEditor").TextOptions;
702
+ translate?: [number, number];
703
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
704
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
705
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
706
+ lineCap?: "square" | "round";
707
+ lineDash?: [number, number];
708
+ } | {
709
+ matrix: import("../utils").AffineMatrix;
710
+ thickness: number;
711
+ strokeColor: string;
712
+ fillColor: string;
713
+ strokeType: EStrokeType;
714
+ isOpacity?: boolean;
715
+ fontColor?: string;
716
+ fontBgColor?: string;
717
+ vertex?: string;
718
+ fragment?: string;
719
+ syncUnitTime?: number;
720
+ zIndex?: number;
721
+ scale?: [number, number];
722
+ rotate?: number;
723
+ textOpt?: import("../../component/textEditor").TextOptions;
724
+ translate?: [number, number];
725
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
726
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
727
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
728
+ lineCap?: "square" | "round";
729
+ lineDash?: [number, number];
730
+ } | {
731
+ matrix: import("../utils").AffineMatrix;
732
+ thickness: number;
733
+ vertices: number;
734
+ strokeColor: string;
735
+ fillColor: string;
736
+ strokeType: EStrokeType;
737
+ isOpacity?: boolean;
738
+ fontColor?: string;
739
+ fontBgColor?: string;
740
+ vertex?: string;
741
+ fragment?: string;
742
+ syncUnitTime?: number;
743
+ zIndex?: number;
744
+ scale?: [number, number];
745
+ rotate?: number;
746
+ textOpt?: import("../../component/textEditor").TextOptions;
747
+ translate?: [number, number];
748
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
749
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
750
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
751
+ lineCap?: "square" | "round";
752
+ lineDash?: [number, number];
753
+ } | {
754
+ matrix: import("../utils").AffineMatrix;
755
+ thickness: number;
756
+ strokeColor: string;
757
+ strokeType: EStrokeType;
758
+ isOpacity?: boolean;
759
+ fontColor?: string;
760
+ fontBgColor?: string;
761
+ fillColor?: string;
762
+ vertex?: string;
763
+ fragment?: string;
764
+ syncUnitTime?: number;
765
+ zIndex?: number;
766
+ scale?: [number, number];
767
+ rotate?: number;
768
+ textOpt?: import("../../component/textEditor").TextOptions;
769
+ translate?: [number, number];
770
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
771
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
772
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
773
+ lineCap?: "square" | "round";
774
+ lineDash?: [number, number];
775
+ } | {
776
+ matrix: import("../utils").AffineMatrix;
777
+ thickness: number;
778
+ placement: import("../..").SpeechBalloonPlacement;
779
+ strokeColor: string;
780
+ fillColor: string;
781
+ strokeType: EStrokeType;
782
+ isOpacity?: boolean;
783
+ fontColor?: string;
784
+ fontBgColor?: string;
785
+ vertex?: string;
786
+ fragment?: string;
787
+ syncUnitTime?: number;
788
+ zIndex?: number;
789
+ scale?: [number, number];
790
+ rotate?: number;
791
+ textOpt?: import("../../component/textEditor").TextOptions;
792
+ translate?: [number, number];
793
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
794
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
795
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
796
+ lineCap?: "square" | "round";
797
+ lineDash?: [number, number];
798
+ } | {
799
+ matrix: import("../utils").AffineMatrix;
800
+ src: string;
801
+ type: import("..").EImageType;
802
+ uuid: string;
803
+ centerX: number;
804
+ centerY: number;
805
+ width: number;
806
+ height: number;
807
+ locked: boolean;
808
+ uniformScale?: boolean;
809
+ crossOrigin?: boolean | string;
810
+ isOpacity?: boolean;
811
+ fontColor?: string;
812
+ fontBgColor?: string;
813
+ strokeColor?: string;
814
+ fillColor?: string;
815
+ vertex?: string;
816
+ fragment?: string;
817
+ syncUnitTime?: number;
818
+ zIndex?: number;
819
+ scale?: [number, number];
820
+ rotate?: number;
821
+ thickness?: number;
822
+ textOpt?: import("../../component/textEditor").TextOptions;
823
+ translate?: [number, number];
824
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
825
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
826
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
827
+ lineCap?: "square" | "round";
828
+ lineDash?: [number, number];
829
+ } | {
830
+ matrix: import("../utils").AffineMatrix;
831
+ type: import("..").ESVGType.url;
832
+ src: string;
833
+ crossOrigin: boolean | string;
834
+ uuid: string;
835
+ centerX: number;
836
+ centerY: number;
837
+ width: number;
838
+ height: number;
839
+ locked: boolean;
840
+ uniformScale: boolean;
841
+ state?: unknown;
842
+ isOpacity?: boolean;
843
+ fontColor?: string;
844
+ fontBgColor?: string;
845
+ strokeColor?: string;
846
+ fillColor?: string;
847
+ vertex?: string;
848
+ fragment?: string;
849
+ syncUnitTime?: number;
850
+ zIndex?: number;
851
+ scale?: [number, number];
852
+ rotate?: number;
853
+ thickness?: number;
854
+ textOpt?: import("../../component/textEditor").TextOptions;
855
+ translate?: [number, number];
856
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
857
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
858
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
859
+ lineCap?: "square" | "round";
860
+ lineDash?: [number, number];
861
+ } | {
862
+ matrix: import("../utils").AffineMatrix;
863
+ type: import("..").ESVGType.markmap;
864
+ data: string;
865
+ uuid: string;
866
+ centerX: number;
867
+ centerY: number;
868
+ width: number;
869
+ height: number;
870
+ locked: boolean;
871
+ uniformScale: boolean;
872
+ state?: unknown;
873
+ isOpacity?: boolean;
874
+ fontColor?: string;
875
+ fontBgColor?: string;
876
+ strokeColor?: string;
877
+ fillColor?: string;
878
+ vertex?: string;
879
+ fragment?: string;
880
+ syncUnitTime?: number;
881
+ zIndex?: number;
882
+ scale?: [number, number];
883
+ rotate?: number;
884
+ thickness?: number;
885
+ textOpt?: import("../../component/textEditor").TextOptions;
886
+ translate?: [number, number];
887
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
888
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
889
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
890
+ lineCap?: "square" | "round";
891
+ lineDash?: [number, number];
892
+ };
49
893
  rect: {
50
894
  x: number;
51
895
  y: number;