Improve 'clear' performance (only clear overlays if possible).
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user