comirva.visu.epsgraphics.objects
Class EpsArc2D

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

public class EpsArc2D
extends EpsShape

This class represents an EpsArc2D


Field Summary
 
Fields inherited from class comirva.visu.epsgraphics.objects.EpsShape
code, filled, params, shape
 
Constructor Summary
EpsArc2D(Arc2D arc)
          create an EpsArc2D using the given Arc2D
EpsArc2D(Arc2D arc, boolean filled)
          creates an EpsArc2D using the given parameters
 
Method Summary
 boolean equals(Object obj)
           
 String toEps()
          returns a String that represents the object in postscript code
 
Methods inherited from class comirva.visu.epsgraphics.objects.EpsShape
getShape, isFilled, setFilled, setShape
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EpsArc2D

public EpsArc2D(Arc2D arc)
create an EpsArc2D using the given Arc2D

Parameters:
arc - information about the arc it should represent

EpsArc2D

public EpsArc2D(Arc2D arc,
                boolean filled)
creates an EpsArc2D using the given parameters

Parameters:
arc - the arc information
filled - wheter it should be filled or not
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

equals

public boolean equals(Object obj)
Overrides:
equals in class EpsShape