comirva.visu.epsgraphics.objects
Class EpsRectangle

java.lang.Object
  extended by comirva.visu.epsgraphics.objects.EpsShape
      extended by comirva.visu.epsgraphics.objects.EpsRectangle
All Implemented Interfaces:
EpsObject

public class EpsRectangle
extends EpsShape

this class represents an eps rectangle


Field Summary
 
Fields inherited from class comirva.visu.epsgraphics.objects.EpsShape
code, filled, params, shape
 
Constructor Summary
EpsRectangle(Rectangle rect)
          constructs eps rectangle using specified information
EpsRectangle(Rectangle rect, boolean filled)
          constructs an filled eps rectangle
 
Method Summary
 String toEps()
          returns a String that represents the object in postscript code
 
Methods inherited from class comirva.visu.epsgraphics.objects.EpsShape
equals, getShape, isFilled, setFilled, setShape
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpsRectangle

public EpsRectangle(Rectangle rect)
constructs eps rectangle using specified information

Parameters:
rect - the rectangle

EpsRectangle

public EpsRectangle(Rectangle rect,
                    boolean filled)
constructs an filled eps rectangle

Parameters:
rect - the rectangle
filled - specifies fill or stroke
Method Detail

toEps

public String toEps()
Description copied from interface: EpsObject
returns a String that represents the object in postscript code

Specified by:
toEps in interface EpsObject
Overrides:
toEps in class EpsShape