@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
@@ -51,7 +51,430 @@ export declare class PencilShape extends BaseShapeTool {
51
51
  };
52
52
  workId: string;
53
53
  toolsType: EToolsKey;
54
- opt: import("./utils").ShapeOptions;
54
+ opt: {
55
+ matrix: import("../utils").AffineMatrix;
56
+ fontColor: string;
57
+ fontSize: number;
58
+ text: string;
59
+ textAlign: import("../../component/textEditor").TextAlignType;
60
+ verticalAlign: import("../../component/textEditor").VerticalAlignType;
61
+ lineHeight?: number;
62
+ fontFamily?: string;
63
+ bold?: import("../../component/textEditor").FontWeightType;
64
+ italic?: import("../../component/textEditor").FontStyleType;
65
+ fontBgColor?: string;
66
+ underline?: boolean;
67
+ lineThrough?: boolean;
68
+ boxPoint?: [number, number];
69
+ boxSize?: [number, number];
70
+ workState?: EventWorkState;
71
+ uid?: string;
72
+ isOpacity?: boolean;
73
+ strokeColor?: string;
74
+ fillColor?: string;
75
+ vertex?: string;
76
+ fragment?: string;
77
+ syncUnitTime?: number;
78
+ zIndex?: number;
79
+ scale?: [number, number];
80
+ rotate?: number;
81
+ thickness?: number;
82
+ textOpt?: import("../../component/textEditor").TextOptions;
83
+ translate?: [number, number];
84
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
85
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
86
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
87
+ lineCap?: "square" | "round";
88
+ lineDash?: [number, number];
89
+ } | {
90
+ matrix: import("../utils").AffineMatrix;
91
+ thickness: number;
92
+ strokeColor: string;
93
+ strokeType: EStrokeType;
94
+ autoShape?: boolean;
95
+ /** 仅用于本地预览,不向 collector 同步中间态 */
96
+ previewLocalOnly?: boolean;
97
+ isOpacity?: boolean;
98
+ fontColor?: string;
99
+ fontBgColor?: string;
100
+ fillColor?: string;
101
+ vertex?: string;
102
+ fragment?: string;
103
+ syncUnitTime?: number;
104
+ zIndex?: number;
105
+ scale?: [number, number];
106
+ rotate?: number;
107
+ textOpt?: import("../../component/textEditor").TextOptions;
108
+ translate?: [number, number];
109
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
110
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
111
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
112
+ lineCap?: "square" | "round";
113
+ lineDash?: [number, number];
114
+ } | {
115
+ matrix: import("../utils").AffineMatrix;
116
+ thickness: number;
117
+ duration: number;
118
+ strokeColor: string;
119
+ strokeType: Omit<EStrokeType, "Stroke">;
120
+ isOpacity?: boolean;
121
+ fontColor?: string;
122
+ fontBgColor?: string;
123
+ fillColor?: string;
124
+ vertex?: string;
125
+ fragment?: string;
126
+ syncUnitTime?: number;
127
+ zIndex?: number;
128
+ scale?: [number, number];
129
+ rotate?: number;
130
+ textOpt?: import("../../component/textEditor").TextOptions;
131
+ translate?: [number, number];
132
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
133
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
134
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
135
+ lineCap?: "square" | "round";
136
+ lineDash?: [number, number];
137
+ } | {
138
+ matrix: import("../utils").AffineMatrix;
139
+ thickness: number;
140
+ isOpacity?: boolean;
141
+ fontColor?: string;
142
+ fontBgColor?: string;
143
+ strokeColor?: string;
144
+ fillColor?: string;
145
+ vertex?: string;
146
+ fragment?: string;
147
+ syncUnitTime?: number;
148
+ zIndex?: number;
149
+ scale?: [number, number];
150
+ rotate?: number;
151
+ textOpt?: import("../../component/textEditor").TextOptions;
152
+ translate?: [number, number];
153
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
154
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
155
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
156
+ lineCap?: "square" | "round";
157
+ lineDash?: [number, number];
158
+ } | {
159
+ matrix: import("../utils").AffineMatrix;
160
+ thickness: number;
161
+ maxImageWidth?: number;
162
+ maxImageHeight?: number;
163
+ removeOnDone?: boolean;
164
+ isOpacity?: boolean;
165
+ fontColor?: string;
166
+ fontBgColor?: string;
167
+ strokeColor?: string;
168
+ fillColor?: string;
169
+ vertex?: string;
170
+ fragment?: string;
171
+ syncUnitTime?: number;
172
+ zIndex?: number;
173
+ scale?: [number, number];
174
+ rotate?: number;
175
+ textOpt?: import("../../component/textEditor").TextOptions;
176
+ translate?: [number, number];
177
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
178
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
179
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
180
+ lineCap?: "square" | "round";
181
+ lineDash?: [number, number];
182
+ } | {
183
+ matrix: import("../utils").AffineMatrix;
184
+ thickness: number;
185
+ isOpacity?: boolean;
186
+ fontColor?: string;
187
+ fontBgColor?: string;
188
+ strokeColor?: string;
189
+ fillColor?: string;
190
+ vertex?: string;
191
+ fragment?: string;
192
+ syncUnitTime?: number;
193
+ zIndex?: number;
194
+ scale?: [number, number];
195
+ rotate?: number;
196
+ textOpt?: import("../../component/textEditor").TextOptions;
197
+ translate?: [number, number];
198
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
199
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
200
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
201
+ lineCap?: "square" | "round";
202
+ lineDash?: [number, number];
203
+ } | {
204
+ matrix: import("../utils").AffineMatrix;
205
+ thickness: number;
206
+ vertices: number;
207
+ innerVerticeStep: number;
208
+ innerRatio: number;
209
+ strokeColor: string;
210
+ fillColor: string;
211
+ strokeType: EStrokeType;
212
+ isOpacity?: boolean;
213
+ fontColor?: string;
214
+ fontBgColor?: string;
215
+ vertex?: string;
216
+ fragment?: string;
217
+ syncUnitTime?: number;
218
+ zIndex?: number;
219
+ scale?: [number, number];
220
+ rotate?: number;
221
+ textOpt?: import("../../component/textEditor").TextOptions;
222
+ translate?: [number, number];
223
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
224
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
225
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
226
+ lineCap?: "square" | "round";
227
+ lineDash?: [number, number];
228
+ } | {
229
+ matrix: import("../utils").AffineMatrix;
230
+ isOpacity?: boolean;
231
+ fontColor?: string;
232
+ fontBgColor?: string;
233
+ strokeColor?: string;
234
+ fillColor?: string;
235
+ vertex?: string;
236
+ fragment?: string;
237
+ syncUnitTime?: number;
238
+ zIndex?: number;
239
+ scale?: [number, number];
240
+ rotate?: number;
241
+ thickness?: 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
+ strokeType: EStrokeType;
254
+ isOpacity?: boolean;
255
+ fontColor?: string;
256
+ fontBgColor?: string;
257
+ fillColor?: 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
+ strokeColor: string;
297
+ fillColor: string;
298
+ strokeType: EStrokeType;
299
+ isOpacity?: boolean;
300
+ fontColor?: string;
301
+ fontBgColor?: string;
302
+ vertex?: string;
303
+ fragment?: string;
304
+ syncUnitTime?: number;
305
+ zIndex?: number;
306
+ scale?: [number, number];
307
+ rotate?: number;
308
+ textOpt?: import("../../component/textEditor").TextOptions;
309
+ translate?: [number, number];
310
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
311
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
312
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
313
+ lineCap?: "square" | "round";
314
+ lineDash?: [number, number];
315
+ } | {
316
+ matrix: import("../utils").AffineMatrix;
317
+ thickness: number;
318
+ vertices: number;
319
+ strokeColor: string;
320
+ fillColor: string;
321
+ strokeType: EStrokeType;
322
+ isOpacity?: boolean;
323
+ fontColor?: string;
324
+ fontBgColor?: 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
+ strokeColor: string;
342
+ strokeType: EStrokeType;
343
+ isOpacity?: boolean;
344
+ fontColor?: string;
345
+ fontBgColor?: string;
346
+ fillColor?: string;
347
+ vertex?: string;
348
+ fragment?: string;
349
+ syncUnitTime?: number;
350
+ zIndex?: number;
351
+ scale?: [number, number];
352
+ rotate?: number;
353
+ textOpt?: import("../../component/textEditor").TextOptions;
354
+ translate?: [number, number];
355
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
356
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
357
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
358
+ lineCap?: "square" | "round";
359
+ lineDash?: [number, number];
360
+ } | {
361
+ matrix: import("../utils").AffineMatrix;
362
+ thickness: number;
363
+ placement: import("../..").SpeechBalloonPlacement;
364
+ strokeColor: string;
365
+ fillColor: string;
366
+ strokeType: EStrokeType;
367
+ isOpacity?: boolean;
368
+ fontColor?: string;
369
+ fontBgColor?: string;
370
+ vertex?: string;
371
+ fragment?: string;
372
+ syncUnitTime?: number;
373
+ zIndex?: number;
374
+ scale?: [number, number];
375
+ rotate?: number;
376
+ textOpt?: import("../../component/textEditor").TextOptions;
377
+ translate?: [number, number];
378
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
379
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
380
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
381
+ lineCap?: "square" | "round";
382
+ lineDash?: [number, number];
383
+ } | {
384
+ matrix: import("../utils").AffineMatrix;
385
+ src: string;
386
+ type: import("..").EImageType;
387
+ uuid: string;
388
+ centerX: number;
389
+ centerY: number;
390
+ width: number;
391
+ height: number;
392
+ locked: boolean;
393
+ uniformScale?: boolean;
394
+ crossOrigin?: boolean | string;
395
+ isOpacity?: boolean;
396
+ fontColor?: string;
397
+ fontBgColor?: string;
398
+ strokeColor?: string;
399
+ fillColor?: string;
400
+ vertex?: string;
401
+ fragment?: string;
402
+ syncUnitTime?: number;
403
+ zIndex?: number;
404
+ scale?: [number, number];
405
+ rotate?: number;
406
+ thickness?: number;
407
+ textOpt?: import("../../component/textEditor").TextOptions;
408
+ translate?: [number, number];
409
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
410
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
411
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
412
+ lineCap?: "square" | "round";
413
+ lineDash?: [number, number];
414
+ } | {
415
+ matrix: import("../utils").AffineMatrix;
416
+ type: import("..").ESVGType.url;
417
+ src: string;
418
+ crossOrigin: boolean | string;
419
+ uuid: string;
420
+ centerX: number;
421
+ centerY: number;
422
+ width: number;
423
+ height: number;
424
+ locked: boolean;
425
+ uniformScale: boolean;
426
+ state?: unknown;
427
+ isOpacity?: boolean;
428
+ fontColor?: string;
429
+ fontBgColor?: string;
430
+ strokeColor?: string;
431
+ fillColor?: string;
432
+ vertex?: string;
433
+ fragment?: string;
434
+ syncUnitTime?: number;
435
+ zIndex?: number;
436
+ scale?: [number, number];
437
+ rotate?: number;
438
+ thickness?: number;
439
+ textOpt?: import("../../component/textEditor").TextOptions;
440
+ translate?: [number, number];
441
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
442
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
443
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
444
+ lineCap?: "square" | "round";
445
+ lineDash?: [number, number];
446
+ } | {
447
+ matrix: import("../utils").AffineMatrix;
448
+ type: import("..").ESVGType.markmap;
449
+ data: string;
450
+ uuid: string;
451
+ centerX: number;
452
+ centerY: number;
453
+ width: number;
454
+ height: number;
455
+ locked: boolean;
456
+ uniformScale: boolean;
457
+ state?: unknown;
458
+ isOpacity?: boolean;
459
+ fontColor?: string;
460
+ fontBgColor?: string;
461
+ strokeColor?: string;
462
+ fillColor?: string;
463
+ vertex?: string;
464
+ fragment?: string;
465
+ syncUnitTime?: number;
466
+ zIndex?: number;
467
+ scale?: [number, number];
468
+ rotate?: number;
469
+ thickness?: number;
470
+ textOpt?: import("../../component/textEditor").TextOptions;
471
+ translate?: [number, number];
472
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
473
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
474
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
475
+ lineCap?: "square" | "round";
476
+ lineDash?: [number, number];
477
+ };
55
478
  } | {
56
479
  rect: IRectType | undefined;
57
480
  type: EPostMessageType;
@@ -73,7 +496,430 @@ export declare class PencilShape extends BaseShapeTool {
73
496
  };
74
497
  workId: string;
75
498
  toolsType: EToolsKey;
76
- opt: import("./utils").ShapeOptions;
499
+ opt: {
500
+ matrix: import("../utils").AffineMatrix;
501
+ fontColor: string;
502
+ fontSize: number;
503
+ text: string;
504
+ textAlign: import("../../component/textEditor").TextAlignType;
505
+ verticalAlign: import("../../component/textEditor").VerticalAlignType;
506
+ lineHeight?: number;
507
+ fontFamily?: string;
508
+ bold?: import("../../component/textEditor").FontWeightType;
509
+ italic?: import("../../component/textEditor").FontStyleType;
510
+ fontBgColor?: string;
511
+ underline?: boolean;
512
+ lineThrough?: boolean;
513
+ boxPoint?: [number, number];
514
+ boxSize?: [number, number];
515
+ workState?: EventWorkState;
516
+ uid?: string;
517
+ isOpacity?: boolean;
518
+ strokeColor?: string;
519
+ fillColor?: string;
520
+ vertex?: string;
521
+ fragment?: string;
522
+ syncUnitTime?: number;
523
+ zIndex?: number;
524
+ scale?: [number, number];
525
+ rotate?: number;
526
+ thickness?: number;
527
+ textOpt?: import("../../component/textEditor").TextOptions;
528
+ translate?: [number, number];
529
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
530
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
531
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
532
+ lineCap?: "square" | "round";
533
+ lineDash?: [number, number];
534
+ } | {
535
+ matrix: import("../utils").AffineMatrix;
536
+ thickness: number;
537
+ strokeColor: string;
538
+ strokeType: EStrokeType;
539
+ autoShape?: boolean;
540
+ /** 仅用于本地预览,不向 collector 同步中间态 */
541
+ previewLocalOnly?: boolean;
542
+ isOpacity?: boolean;
543
+ fontColor?: string;
544
+ fontBgColor?: string;
545
+ fillColor?: string;
546
+ vertex?: string;
547
+ fragment?: string;
548
+ syncUnitTime?: number;
549
+ zIndex?: number;
550
+ scale?: [number, number];
551
+ rotate?: number;
552
+ textOpt?: import("../../component/textEditor").TextOptions;
553
+ translate?: [number, number];
554
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
555
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
556
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
557
+ lineCap?: "square" | "round";
558
+ lineDash?: [number, number];
559
+ } | {
560
+ matrix: import("../utils").AffineMatrix;
561
+ thickness: number;
562
+ duration: number;
563
+ strokeColor: string;
564
+ strokeType: Omit<EStrokeType, "Stroke">;
565
+ isOpacity?: boolean;
566
+ fontColor?: string;
567
+ fontBgColor?: string;
568
+ fillColor?: string;
569
+ vertex?: string;
570
+ fragment?: string;
571
+ syncUnitTime?: number;
572
+ zIndex?: number;
573
+ scale?: [number, number];
574
+ rotate?: number;
575
+ textOpt?: import("../../component/textEditor").TextOptions;
576
+ translate?: [number, number];
577
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
578
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
579
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
580
+ lineCap?: "square" | "round";
581
+ lineDash?: [number, number];
582
+ } | {
583
+ matrix: import("../utils").AffineMatrix;
584
+ thickness: number;
585
+ isOpacity?: boolean;
586
+ fontColor?: string;
587
+ fontBgColor?: string;
588
+ strokeColor?: string;
589
+ fillColor?: string;
590
+ vertex?: string;
591
+ fragment?: string;
592
+ syncUnitTime?: number;
593
+ zIndex?: number;
594
+ scale?: [number, number];
595
+ rotate?: number;
596
+ textOpt?: import("../../component/textEditor").TextOptions;
597
+ translate?: [number, number];
598
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
599
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
600
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
601
+ lineCap?: "square" | "round";
602
+ lineDash?: [number, number];
603
+ } | {
604
+ matrix: import("../utils").AffineMatrix;
605
+ thickness: number;
606
+ maxImageWidth?: number;
607
+ maxImageHeight?: number;
608
+ removeOnDone?: boolean;
609
+ isOpacity?: boolean;
610
+ fontColor?: string;
611
+ fontBgColor?: string;
612
+ strokeColor?: string;
613
+ fillColor?: string;
614
+ vertex?: string;
615
+ fragment?: string;
616
+ syncUnitTime?: number;
617
+ zIndex?: number;
618
+ scale?: [number, number];
619
+ rotate?: number;
620
+ textOpt?: import("../../component/textEditor").TextOptions;
621
+ translate?: [number, number];
622
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
623
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
624
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
625
+ lineCap?: "square" | "round";
626
+ lineDash?: [number, number];
627
+ } | {
628
+ matrix: import("../utils").AffineMatrix;
629
+ thickness: number;
630
+ isOpacity?: boolean;
631
+ fontColor?: string;
632
+ fontBgColor?: string;
633
+ strokeColor?: string;
634
+ fillColor?: string;
635
+ vertex?: string;
636
+ fragment?: string;
637
+ syncUnitTime?: number;
638
+ zIndex?: number;
639
+ scale?: [number, number];
640
+ rotate?: number;
641
+ textOpt?: import("../../component/textEditor").TextOptions;
642
+ translate?: [number, number];
643
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
644
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
645
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
646
+ lineCap?: "square" | "round";
647
+ lineDash?: [number, number];
648
+ } | {
649
+ matrix: import("../utils").AffineMatrix;
650
+ thickness: number;
651
+ vertices: number;
652
+ innerVerticeStep: number;
653
+ innerRatio: number;
654
+ strokeColor: string;
655
+ fillColor: string;
656
+ strokeType: EStrokeType;
657
+ isOpacity?: boolean;
658
+ fontColor?: string;
659
+ fontBgColor?: string;
660
+ vertex?: string;
661
+ fragment?: string;
662
+ syncUnitTime?: number;
663
+ zIndex?: number;
664
+ scale?: [number, number];
665
+ rotate?: number;
666
+ textOpt?: import("../../component/textEditor").TextOptions;
667
+ translate?: [number, number];
668
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
669
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
670
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
671
+ lineCap?: "square" | "round";
672
+ lineDash?: [number, number];
673
+ } | {
674
+ matrix: import("../utils").AffineMatrix;
675
+ isOpacity?: boolean;
676
+ fontColor?: string;
677
+ fontBgColor?: string;
678
+ strokeColor?: string;
679
+ fillColor?: string;
680
+ vertex?: string;
681
+ fragment?: string;
682
+ syncUnitTime?: number;
683
+ zIndex?: number;
684
+ scale?: [number, number];
685
+ rotate?: number;
686
+ thickness?: number;
687
+ textOpt?: import("../../component/textEditor").TextOptions;
688
+ translate?: [number, number];
689
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
690
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
691
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
692
+ lineCap?: "square" | "round";
693
+ lineDash?: [number, number];
694
+ } | {
695
+ matrix: import("../utils").AffineMatrix;
696
+ thickness: number;
697
+ strokeColor: string;
698
+ strokeType: EStrokeType;
699
+ isOpacity?: boolean;
700
+ fontColor?: string;
701
+ fontBgColor?: string;
702
+ fillColor?: string;
703
+ vertex?: string;
704
+ fragment?: string;
705
+ syncUnitTime?: number;
706
+ zIndex?: number;
707
+ scale?: [number, number];
708
+ rotate?: number;
709
+ textOpt?: import("../../component/textEditor").TextOptions;
710
+ translate?: [number, number];
711
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
712
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
713
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
714
+ lineCap?: "square" | "round";
715
+ lineDash?: [number, number];
716
+ } | {
717
+ matrix: import("../utils").AffineMatrix;
718
+ thickness: number;
719
+ strokeColor: string;
720
+ fillColor: string;
721
+ strokeType: EStrokeType;
722
+ isOpacity?: boolean;
723
+ fontColor?: string;
724
+ fontBgColor?: string;
725
+ vertex?: string;
726
+ fragment?: string;
727
+ syncUnitTime?: number;
728
+ zIndex?: number;
729
+ scale?: [number, number];
730
+ rotate?: number;
731
+ textOpt?: import("../../component/textEditor").TextOptions;
732
+ translate?: [number, number];
733
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
734
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
735
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
736
+ lineCap?: "square" | "round";
737
+ lineDash?: [number, number];
738
+ } | {
739
+ matrix: import("../utils").AffineMatrix;
740
+ thickness: number;
741
+ strokeColor: string;
742
+ fillColor: string;
743
+ strokeType: EStrokeType;
744
+ isOpacity?: boolean;
745
+ fontColor?: string;
746
+ fontBgColor?: string;
747
+ vertex?: string;
748
+ fragment?: string;
749
+ syncUnitTime?: number;
750
+ zIndex?: number;
751
+ scale?: [number, number];
752
+ rotate?: number;
753
+ textOpt?: import("../../component/textEditor").TextOptions;
754
+ translate?: [number, number];
755
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
756
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
757
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
758
+ lineCap?: "square" | "round";
759
+ lineDash?: [number, number];
760
+ } | {
761
+ matrix: import("../utils").AffineMatrix;
762
+ thickness: number;
763
+ vertices: number;
764
+ strokeColor: string;
765
+ fillColor: string;
766
+ strokeType: EStrokeType;
767
+ isOpacity?: boolean;
768
+ fontColor?: string;
769
+ fontBgColor?: string;
770
+ vertex?: string;
771
+ fragment?: string;
772
+ syncUnitTime?: number;
773
+ zIndex?: number;
774
+ scale?: [number, number];
775
+ rotate?: number;
776
+ textOpt?: import("../../component/textEditor").TextOptions;
777
+ translate?: [number, number];
778
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
779
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
780
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
781
+ lineCap?: "square" | "round";
782
+ lineDash?: [number, number];
783
+ } | {
784
+ matrix: import("../utils").AffineMatrix;
785
+ thickness: number;
786
+ strokeColor: string;
787
+ strokeType: EStrokeType;
788
+ isOpacity?: boolean;
789
+ fontColor?: string;
790
+ fontBgColor?: string;
791
+ fillColor?: string;
792
+ vertex?: string;
793
+ fragment?: string;
794
+ syncUnitTime?: number;
795
+ zIndex?: number;
796
+ scale?: [number, number];
797
+ rotate?: number;
798
+ textOpt?: import("../../component/textEditor").TextOptions;
799
+ translate?: [number, number];
800
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
801
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
802
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
803
+ lineCap?: "square" | "round";
804
+ lineDash?: [number, number];
805
+ } | {
806
+ matrix: import("../utils").AffineMatrix;
807
+ thickness: number;
808
+ placement: import("../..").SpeechBalloonPlacement;
809
+ strokeColor: string;
810
+ fillColor: string;
811
+ strokeType: EStrokeType;
812
+ isOpacity?: boolean;
813
+ fontColor?: string;
814
+ fontBgColor?: string;
815
+ vertex?: string;
816
+ fragment?: string;
817
+ syncUnitTime?: number;
818
+ zIndex?: number;
819
+ scale?: [number, number];
820
+ rotate?: 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
+ src: string;
831
+ type: import("..").EImageType;
832
+ uuid: string;
833
+ centerX: number;
834
+ centerY: number;
835
+ width: number;
836
+ height: number;
837
+ locked: boolean;
838
+ uniformScale?: boolean;
839
+ crossOrigin?: boolean | string;
840
+ isOpacity?: boolean;
841
+ fontColor?: string;
842
+ fontBgColor?: string;
843
+ strokeColor?: string;
844
+ fillColor?: string;
845
+ vertex?: string;
846
+ fragment?: string;
847
+ syncUnitTime?: number;
848
+ zIndex?: number;
849
+ scale?: [number, number];
850
+ rotate?: number;
851
+ thickness?: number;
852
+ textOpt?: import("../../component/textEditor").TextOptions;
853
+ translate?: [number, number];
854
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
855
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
856
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
857
+ lineCap?: "square" | "round";
858
+ lineDash?: [number, number];
859
+ } | {
860
+ matrix: import("../utils").AffineMatrix;
861
+ type: import("..").ESVGType.url;
862
+ src: string;
863
+ crossOrigin: boolean | 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
+ } | {
892
+ matrix: import("../utils").AffineMatrix;
893
+ type: import("..").ESVGType.markmap;
894
+ data: string;
895
+ uuid: string;
896
+ centerX: number;
897
+ centerY: number;
898
+ width: number;
899
+ height: number;
900
+ locked: boolean;
901
+ uniformScale: boolean;
902
+ state?: unknown;
903
+ isOpacity?: boolean;
904
+ fontColor?: string;
905
+ fontBgColor?: string;
906
+ strokeColor?: string;
907
+ fillColor?: string;
908
+ vertex?: string;
909
+ fragment?: string;
910
+ syncUnitTime?: number;
911
+ zIndex?: number;
912
+ scale?: [number, number];
913
+ rotate?: number;
914
+ thickness?: number;
915
+ textOpt?: import("../../component/textEditor").TextOptions;
916
+ translate?: [number, number];
917
+ eraserlines?: import("./pencilEraserBitMap").SerializerEraserLines;
918
+ eraserFaces?: import("./eraserFaces").SerializedEraserFaces | null;
919
+ doingLines?: import("./pencilEraserBitMap").SerializerEraserLines;
920
+ lineCap?: "square" | "round";
921
+ lineDash?: [number, number];
922
+ };
77
923
  removeIds?: undefined;
78
924
  };
79
925
  clearTmpPoints(): void;