|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.byu.deg.OntologyEditor.epsgraphics.EpsDocument
This represents an EPS document. Several EpsGraphics2D objects may point to the same EpsDocument.
Copyright Paul Mutton, http://www.jibble.org/
Constructor Summary | |
EpsDocument(String title)
Constructs an empty EpsDevice. |
|
EpsDocument(String title,
File file,
int minX,
int minY,
int maxX,
int maxY)
Constructs an empty EpsDevice that writes directly to a file. |
Method Summary | |
void |
append(EpsGraphics2D g,
String line)
Appends a line to the EpsDocument. |
void |
close()
|
EpsDrawState |
getDrawState()
|
String |
getTitle()
Returns the title of the EPS document. |
void |
indentLevel()
|
boolean |
isClipSet()
|
void |
outdentLevel()
|
void |
restoreDrawState()
|
void |
saveDrawState()
|
void |
setClipSet(boolean isClipSet)
|
void |
updateBounds(double x,
double y)
Updates the bounds of the current EPS document. |
void |
write(Writer writer)
Outputs the contents of the EPS document to the specified Writer, complete with headers and bounding box. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EpsDocument(String title)
public EpsDocument(String title, File file, int minX, int minY, int maxX, int maxY) throws IOException
Method Detail |
public String getTitle()
public void updateBounds(double x, double y)
public void append(EpsGraphics2D g, String line)
public void write(Writer writer) throws IOException
IOException
public void close() throws IOException
IOException
public boolean isClipSet()
public void setClipSet(boolean isClipSet)
public void saveDrawState()
public void restoreDrawState()
public void indentLevel()
public void outdentLevel()
public EpsDrawState getDrawState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |