Add delete shape operation

This commit is contained in:
2025-02-19 10:50:27 +01:00
parent 98b05e435e
commit b4eac668c8
5 changed files with 48 additions and 8 deletions

View File

@@ -8,8 +8,8 @@ import java.util.TreeMap;
public abstract class AbstractShape implements Shape {
private Map<String, Attributes> attributes = new TreeMap<>();
private Rectangle bounds;
private final Map<String, Attributes> attributes = new TreeMap<>();
private final Rectangle bounds;
AbstractShape() {
this(null);