HotKeys
Whiteboard Web SDK 2.16.59 公开 type。
JavaScript
export declare type HotKeys = {
/**
* 复刻
*/
duplicate: HotKey;
/**
* 复制
*/
copy: HotKey;
/**
* 粘贴
*/
paste: HotKey;
/**
* 撤回
*/
undo: HotKey;
/**
* 重做
*/
redo: HotKey;
/**
* 删除
*/
delete: HotKey;
/**
* 锁定放缩比例
*/
lock: HotKey;
/**
* 锁定沿着圆心放缩
*/
lockCenter: HotKey;
/**
* 使用铅笔时画圆
*/
pencilPaintCircular: HotKey;
/**
* 切换到选择工具(selector)
*/
changeToSelector: HotKey;
/**
* 切换到点选工具(clicker)
*/
changeToClick: HotKey;
/**
* 切换到激光笔(laserPointer)
*/
changeToLaserPointer: HotKey;
/**
* 切换到铅笔工具(pencil)
*/
changeToPencil: HotKey;
/**
* 切换到矩形工具(rectangle)
*/
changeToRectangle: HotKey;
/**
* 切换到圆形工具(ellipse)
*/
changeToEllipse: HotKey;
/**
* 切换到橡皮工具(eraser)
*/
changeToEraser: HotKey;
/**
* 切换到橡皮工具(仅用于擦除铅笔笔迹)(pencilEraser)
*/
changeToPencilEraser: HotKey;
/**
* 切换到文字工具(text)
*/
changeToText: HotKey;
/**
* 切换到直线工具(straight)
*/
changeToStraight: HotKey;
/**
* 切换到箭头工具(arrow)
*/
changeToArrow: HotKey;
/**
* 切换到抓手工具(handle)
*/
changeToHand: HotKey;
};