implement resize feature
This commit is contained in:
@@ -38,6 +38,10 @@ public class Selection implements Streamable<Shape> {
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return selectedShapes.isEmpty();
|
||||
}
|
||||
|
||||
public List<Shape> getSelectedShapes() {
|
||||
return List.copyOf(selectedShapes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user