view
Class XfigRead.XfigText
java.lang.Object
view.XfigRead.XfigObject
view.XfigRead.XfigText
- Enclosing class:
- XfigRead
protected static class XfigRead.XfigText
- extends XfigRead.XfigObject
An xfig text.
|
Field Summary |
(package private) float |
angle
|
(package private) Point |
center
|
(package private) int |
color
|
(package private) int |
depth
|
(package private) int |
flags
|
(package private) int |
font
|
(package private) float |
height
|
(package private) int |
just
|
(package private) float |
length
|
(package private) float |
size
|
(package private) int |
style
|
(package private) String |
text
|
|
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 |
just
int just
color
int color
depth
int depth
style
int style
font
int font
size
float size
angle
float angle
flags
int flags
height
float height
length
float length
center
Point center
text
String text
XfigRead.XfigText
protected XfigRead.XfigText(String trimmed)
throws ParseException
- Throws:
ParseException
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
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
toFigString
public String toFigString()
- Returns the representation of this object.
- Overrides:
toFigString in class XfigRead.XfigObject