package GraphicsApp;

/**
* GraphicsApp/RectangleHolder.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 final class RectangleHolder implements org.omg.CORBA.portable.Streamable
{
  public GraphicsApp.Rectangle value = null;

  public RectangleHolder ()
  {
  }

  public RectangleHolder (GraphicsApp.Rectangle initialValue)
  {
    value = initialValue;
  }

  public void _read (org.omg.CORBA.portable.InputStream i)
  {
    value = GraphicsApp.RectangleHelper.read (i);
  }

  public void _write (org.omg.CORBA.portable.OutputStream o)
  {
    GraphicsApp.RectangleHelper.write (o, value);
  }

  public org.omg.CORBA.TypeCode _type ()
  {
    return GraphicsApp.RectangleHelper.type ();
  }

}
