excercise 2 done
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package GraphicsApp;
|
||||
|
||||
|
||||
/**
|
||||
* GraphicsApp/RectangleOperations.java .
|
||||
* Generated by the IDL-to-Java compiler (portable), version "3.2"
|
||||
* from Graphics.idl
|
||||
* Tuesday, November 11, 2025 6:46:29 PM CET
|
||||
*/
|
||||
|
||||
|
||||
// rectangle contains shapes which GraphicalObjects a
|
||||
public interface RectangleOperations
|
||||
{
|
||||
|
||||
// hopping this will be an array of shapes.
|
||||
GraphicsApp.GraphicalObject[] objects ();
|
||||
|
||||
// hopping this will be an array of shapes.
|
||||
void objects (GraphicsApp.GraphicalObject[] newObjects);
|
||||
|
||||
// function to add shape
|
||||
void addObject (GraphicsApp.GraphicalObject newShape);
|
||||
|
||||
// and may be remove a shape from a position?
|
||||
void removeObjectAtPosition (int index) throws GraphicsApp.RectanglePackage.IndexOutOfBounds;
|
||||
} // interface RectangleOperations
|
||||
Reference in New Issue
Block a user