view
Class XfigRead.XfigEllipse
java.lang.Object
view.XfigRead.XfigObject
view.XfigRead.XfigDraw
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dir
int dir
angle
float angle
center
Point center
radius
Point radius
start
Point start
end
Point end
XfigRead.XfigEllipse
protected XfigRead.XfigEllipse(String trimmed)
throws ParseException
- Throws:
ParseException
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