You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/appliance-plugin.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,23 +424,38 @@ The following interfaces are involved:
424
424
exporttypeAppliancePluginOptions= {
425
425
/** cdn configuration item */
426
426
cdn: CdnOpt;
427
-
/** Synchronous Data Configuration item */
427
+
/** Additional configuration items */
428
+
extras?: ExtrasOptions;
429
+
};
430
+
exporttypeCdnOpt= {
431
+
/** full worker url Address, the thread for drawing complete data */
432
+
fullWorkerUrl?: string;
433
+
/** sub worker url Address, the thread that draws a frame of data */
434
+
subWorkerUrl?: string;
435
+
};
436
+
exporttypeExtrasOptions= {
437
+
/** Whether to use worker, the default value is 'auto'
438
+
* auto: Automatic selection (Use webWorker if your browser supports offscreenCanvas; otherwise, use the main thread)
439
+
* mainThread: Use the main thread, canvas, to draw data.
440
+
*/
441
+
useWorker? : UseWorkerType;
442
+
/** Synchronize data configuration items */
428
443
syncOpt? : SyncOpt;
429
-
/** Canvas configuration item */
444
+
/** Canvas Configuration item */
430
445
canvasOpt? : CanvasOpt;
431
446
/** Pointer configuration item */
432
447
cursor? : CursorOpt;
433
-
/** Canvas Cache configuration item */
448
+
/** Canvas cache configuration item */
434
449
bufferSize? : BufferSizeOpt;
435
-
/**Bessel Optimization Configuration item*/
450
+
/**Bezier Optimization Configuration items*/
436
451
bezier? : BezierOpt;
437
-
/** Local Eraser configuration item */
452
+
/** Local eraser configuration item */
438
453
pencilEraser? : PencilEraserOpt;
439
454
/** Line thickness range configuration item */
440
455
strokeWidth? : StrokeWidthOpt,
441
456
/** Text Editor configuration item */
442
457
textEditor? : TextEditorOpt;
443
-
}
458
+
}
444
459
```
445
460
- ``cursorAdapter? : CursorAdapter``; This parameter is optional. In single whiteboard mode, customize the mouse style.
446
461
- ``logger?: Logger``; This parameter is optional. Configure the log printer object. The default output is on the local console. If logs need to be uploaded to the specified server, you need to manually configure the configuration.
0 commit comments