Improve 'clear' performance (only clear overlays if possible).

This commit is contained in:
Holt59
2018-03-05 22:59:47 +01:00
parent bd01aadeb1
commit 825108d10e
4 changed files with 108 additions and 27 deletions

View File

@@ -30,6 +30,11 @@ public interface Drawing {
*/
public void clear();
/**
* Remove overlays from the drawing.
*/
public void clearOverlays();
/**
* Draw the given point with the given color.
*