绘制形状
This commit is contained in:
@@ -54,6 +54,32 @@ export class ToolManager {
|
||||
name: OperationType.RECTANGLE,
|
||||
cursor: "crosshair",
|
||||
},
|
||||
/** 直线工具 */
|
||||
{
|
||||
name: OperationType.LINE,
|
||||
cursor: "crosshair",
|
||||
},
|
||||
/** 箭头工具 */
|
||||
{
|
||||
name: OperationType.ARROW,
|
||||
cursor: "crosshair",
|
||||
},
|
||||
/** 椭圆工具 */
|
||||
{
|
||||
name: OperationType.ELLIPSE,
|
||||
cursor: "crosshair",
|
||||
},
|
||||
/** 三角形工具 */
|
||||
{
|
||||
name: OperationType.TRIANGLE,
|
||||
cursor: "crosshair",
|
||||
},
|
||||
/** 五角星工具 */
|
||||
{
|
||||
name: OperationType.STAR,
|
||||
cursor: "crosshair",
|
||||
},
|
||||
|
||||
]
|
||||
}
|
||||
onMounted() {
|
||||
|
||||
Reference in New Issue
Block a user