|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibble.epsgraphics.EpsDocument
public class 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(java.lang.String title)
Constructs an empty EpsDevice. |
|
EpsDocument(java.lang.String title,
java.io.OutputStream outputStream,
int minX,
int minY,
int maxX,
int maxY)
Constructs an empty EpsDevice that writes directly to a file. |
Method Summary | |
---|---|
void |
append(EpsGraphics2D g,
java.lang.String line)
Appends a line to the EpsDocument. |
void |
close()
|
void |
flush()
|
java.lang.String |
getTitle()
Returns the title of the EPS document. |
boolean |
isClipSet()
|
void |
setClipSet(boolean isClipSet)
|
void |
updateBounds(double x,
double y)
Updates the bounds of the current EPS document. |
void |
write(java.io.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(java.lang.String title)
public EpsDocument(java.lang.String title, java.io.OutputStream outputStream, int minX, int minY, int maxX, int maxY) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.lang.String getTitle()
public void updateBounds(double x, double y)
public void append(EpsGraphics2D g, java.lang.String line)
public void write(java.io.Writer writer) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public boolean isClipSet()
public void setClipSet(boolean isClipSet)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |