|
xmlgraphics-commons 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Graphics
java.awt.Graphics2D
org.apache.xmlgraphics.java2d.AbstractGraphics2D
org.apache.xmlgraphics.java2d.ps.PSGraphics2D
org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D
org.apache.xmlgraphics.java2d.ps.EPSDocumentGraphics2D
public class EPSDocumentGraphics2D
This class is a wrapper for the AbstractPSDocumentGraphics2D that is used to create EPS (Encapsulated PostScript) files instead of PS file.
PSGraphics2D,
AbstractPSDocumentGraphics2D| Field Summary |
|---|
| Fields inherited from class org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D |
|---|
height, initialClip, initialTransform, pagecount, pagePending, viewportHeight, viewportWidth, width, ZERO |
| Fields inherited from class org.apache.xmlgraphics.java2d.ps.PSGraphics2D |
|---|
clippingDisabled, currentColour, customTextHandler, fallbackTextHandler, gen, pathHashCache, rootG2D, startCache |
| Fields inherited from class org.apache.xmlgraphics.java2d.AbstractGraphics2D |
|---|
gc, inPossibleRecursion, textAsShapes |
| Constructor Summary | |
|---|---|
EPSDocumentGraphics2D(boolean textAsShapes)
Create a new EPSDocumentGraphics2D. |
|
| Method Summary | |
|---|---|
protected void |
writeFileHeader()
Writes the file header. |
protected void |
writePageHeader()
Writes the page header for a page. |
protected void |
writePageTrailer()
Writes the page trailer for a page. |
| Methods inherited from class org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D |
|---|
closePage, finish, getPageCount, nextPage, preparePainting, setBackgroundColor, setupDocument, setViewportDimension, startPage, writeProcSets |
| Methods inherited from class org.apache.xmlgraphics.java2d.ps.PSGraphics2D |
|---|
applyPaint, applyStroke, applyStroke, buildBufferedImage, copyArea, create, disableClipping, dispose, doDrawing, draw, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, establishColor, fill, getCustomTextHandler, getDeviceConfiguration, getFallbackTextHandler, getFontMetrics, getPSGenerator, handleIOException, processPathIterator, processPathIteratorCached, processPathIteratorToString, processShape, setCustomTextHandler, setGraphicContext, setPSGenerator, setXORMode, shouldBeClipped, writeClip |
| Methods inherited from class org.apache.xmlgraphics.java2d.AbstractGraphics2D |
|---|
addRenderingHints, clearRect, clip, clipRect, drawArc, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawLine, drawOval, drawPolygon, drawPolyline, drawRect, drawRoundRect, drawString, drawString, drawString, fillArc, fillOval, fillPolygon, fillRect, fillRoundRect, getBackground, getClip, getClipBounds, getColor, getComposite, getFont, getFontRenderContext, getGraphicContext, getPaint, getRenderingHint, getRenderingHints, getStroke, getTransform, hit, rotate, rotate, scale, setBackground, setClip, setClip, setColor, setComposite, setFont, setPaint, setPaintMode, setRenderingHint, setRenderingHints, setStroke, setTransform, shear, transform, translate, translate |
| Methods inherited from class java.awt.Graphics2D |
|---|
draw3DRect, fill3DRect |
| Methods inherited from class java.awt.Graphics |
|---|
create, drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPSDocumentGraphics2D(boolean textAsShapes)
textAsShapes - set this to true so that text will be rendered
using curves and not the font.| Method Detail |
|---|
protected void writeFileHeader()
throws IOException
writeFileHeader in class AbstractPSDocumentGraphics2DIOException - if an I/O error occurs
protected void writePageHeader()
throws IOException
writePageHeader in class AbstractPSDocumentGraphics2DIOException - In case an I/O error occurs
protected void writePageTrailer()
throws IOException
writePageTrailer in class AbstractPSDocumentGraphics2DIOException - In case an I/O error occurs
|
xmlgraphics-commons 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||