comirva.visu.epsgraphics.objects
Class EpsRectangle
java.lang.Object
comirva.visu.epsgraphics.objects.EpsShape
comirva.visu.epsgraphics.objects.EpsRectangle
- All Implemented Interfaces:
- EpsObject
public class EpsRectangle
- extends EpsShape
this class represents an eps rectangle
Method Summary |
String |
toEps()
returns a String that represents the object
in postscript code |
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 rectanglefilled
- specifies fill or stroke
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