@tencentcloud/roomkit-electron-vue3
Version:
<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,
54 lines (50 loc) • 1.19 kB
text/typescript
export enum DrawingTool {
Pointer = 'Pointer',
Laser = 'Laser',
Rectangle = 'Rectangle',
Triangle = 'Triangle',
Circle = 'Circle',
Ellipse = 'Ellipse',
Line = 'Line',
Arrow = 'Arrow',
Text = 'Text',
Pencil = 'Pencil',
Select = 'Select',
Eraser = 'Eraser',
Image = 'Image',
Clear = 'Clear',
Redo = 'Redo',
Undo = 'Undo',
Download = 'Download',
Retract = 'Retract',
None = 'null',
}
export interface ShapeOptions {
stroke?: string;
strokeWidth?: number;
fill?: string;
opacity?: number;
lineDash?: number[];
}
export interface ToolSettings {
drawingTool: DrawingTool;
shapeOptions?: ShapeOptions;
}
export const toolCursorStyleMap = {
[]: 'laser-cursor',
[]: 'eraser-cursor',
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
[]: null,
};