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
