直线命令类
绘制直线的命令,支持连续绘制多条直线。
import { LineCommand } from '@aspect/webcad-lib-ts';// 创建并执行直线命令const cmd = new LineCommand();await cmd.main(); Copy
import { LineCommand } from '@aspect/webcad-lib-ts';// 创建并执行直线命令const cmd = new LineCommand();await cmd.main();
主入口方法
直线命令类
绘制直线的命令,支持连续绘制多条直线。
Example