对绘制圆弧新增橡皮筋

pull/7/head
ChenX 7 years ago
parent 54b3434003
commit d59643c4e5

@ -186,10 +186,12 @@ export class DrawCircle implements Command
app.m_Database.appendEntity(cir); app.m_Database.appendEntity(cir);
ptRes = await app.m_Editor.GetPoint( ptRes = await app.m_Editor.GetPoint(
{ {
BasePoint: ptRes.Value,
Callback: (p) => Callback: (p) =>
{ {
cir.Radius = p.distanceTo(cir.m_Center); cir.Radius = p.distanceTo(cir.m_Center);
} },
AllowDrawRubberBand: true
} }
); );
} }

Loading…
Cancel
Save