excercise 2 done

This commit is contained in:
2025-12-12 22:48:54 +01:00
parent a60e3de86a
commit 27259a12e0
123 changed files with 2946 additions and 1 deletions

View File

@@ -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