LongoMatch.Drawing.Widgets.Blackboard.DeleteSelection C# (CSharp) Method

DeleteSelection() public method

Deletes the current selection from the frame drawing.
public DeleteSelection ( ) : void
return void
        public void DeleteSelection()
        {
            foreach (ICanvasDrawableObject o in Selections.Select (s => s.Drawable)) {
                RemoveObject (o);
                drawing.Drawables.Remove ((Drawable)o.IDrawableObject);
            }
            ClearSelection ();
            UpdateCounters ();
            widget.ReDraw ();
        }