protected virtual void FinishDrawing() { _currentPoint = 0; // deselect the text tool _grac.SetGraphToolFromInternal(NextMouseHandlerType); if (_Points.Count >= 2) { var pts = _Points.Select(x => x.LayerCoordinates); var go = new OpenCardinalSpline(pts, _tension, _grac.Doc.GetPropertyContext()); _grac.ActiveLayer.GraphObjects.Add(go); } }