/// <summary> /// 设置当前的偏移起点 /// </summary> /// <param name="p"></param> public void SetPoint(Albert.Geometry.Primitives.Vector2D p) { if (GeometryShape == null) { this.start = p; GeometryShape = tagert.Copy(true); if (DrawStartEvent != null) { this.DrawStartEvent(new ActionEventArgs(GeometryShape)); this.GeometryShape.IsActioning = true; } } else { this.end = p; //完成当前的移动 this.Complete(); } }