view
Class XfigRead.XfigEllipse

java.lang.Object
  extended by view.XfigRead.XfigObject
      extended by view.XfigRead.XfigDraw
          extended by view.XfigRead.XfigEllipse
Enclosing class:
XfigRead

protected static class XfigRead.XfigEllipse
extends XfigRead.XfigDraw

An xfig ellipse. 1 3 0 1 0 7 50 -1 -1 0.000 1 0.0000 1260 1440 415 415 1260 1440 1530 1755


Nested Class Summary
 
Nested classes/interfaces inherited from class view.XfigRead.XfigObject
XfigRead.XfigObject.Position
 
Field Summary
(package private)  float angle
           
(package private)  Point center
           
(package private)  int dir
           
(package private)  Point end
           
(package private)  Point radius
           
(package private)  Point start
           
 
Fields inherited from class view.XfigRead.XfigDraw
areafill, depth, fillcol, linestyle, pencol, penstyle, style, subtype, thick
 
Constructor Summary
protected XfigRead.XfigEllipse(String trimmed)
           
 
Method Summary
 boolean isComplete()
          If we survived construct, we are done.
 boolean nextLine(String line)
          No more lines, please.
 void rescale(double xf, double yf)
          Rescales the fig by the two factors.
 String toFigString()
          Returns the representation of this object.
 
Methods inherited from class view.XfigRead.XfigDraw
getHead, parseHead
 
Methods inherited from class view.XfigRead.XfigObject
getName, getType, rescalePoint, startParsing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dir

int dir

angle

float angle

center

Point center

radius

Point radius

start

Point start

end

Point end
Constructor Detail

XfigRead.XfigEllipse

protected XfigRead.XfigEllipse(String trimmed)
                        throws ParseException
Throws:
ParseException
Method Detail

rescale

public void rescale(double xf,
                    double yf)
Description copied from class: XfigRead.XfigObject
Rescales the fig by the two factors. Default does nothing.

Overrides:
rescale in class XfigRead.XfigObject

isComplete

public boolean isComplete()
If we survived construct, we are done.

Specified by:
isComplete in class XfigRead.XfigObject

nextLine

public boolean nextLine(String line)
                 throws ParseException
No more lines, please.

Specified by:
nextLine in class XfigRead.XfigObject
Returns:
True, if object is completely defined.
Throws:
ParseException

toFigString

public String toFigString()
Returns the representation of this object.

Overrides:
toFigString in class XfigRead.XfigObject