public void ClearPainting() { while (strokesDone.Count > 0) { UndoStroke(); } strokesUndone.Clear(); teleporter.ClearRecordedPositions(); }