org.apache.xmlgraphics.java2d.ps
public class EPSDocumentGraphics2D extends AbstractPSDocumentGraphics2D
PSGraphics2D
,
AbstractPSDocumentGraphics2D
height, initialClip, initialTransform, pagecount, pagePending, viewportHeight, viewportWidth, width, ZERO
currentColour, customTextHandler, fallbackTextHandler, gen, rootG2D
gc, inPossibleRecursion, textAsShapes
Constructor and Description |
---|
EPSDocumentGraphics2D(boolean textAsShapes)
Create a new EPSDocumentGraphics2D.
|
Modifier and Type | Method and Description |
---|---|
protected void |
writeFileHeader() |
protected void |
writePageHeader()
Writes the page header for a page.
|
protected void |
writePageTrailer()
Writes the page trailer for a page.
|
closePage, finish, getPageCount, nextPage, preparePainting, setBackgroundColor, setupDocument, setViewportDimension, startPage
applyPaint, applyStroke, buildBufferedImage, copyArea, create, dispose, doDrawing, draw, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, establishColor, fill, getCustomTextHandler, getDeviceConfiguration, getFallbackTextHandler, getFontMetrics, getPSGenerator, handleIOException, processPathIterator, setCustomTextHandler, setGraphicContext, setPSGenerator, setXORMode, writeClip
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
public EPSDocumentGraphics2D(boolean textAsShapes)
textAsShapes
- set this to true so that text will be rendered
using curves and not the font.protected void writeFileHeader() throws java.io.IOException
writeFileHeader
in class AbstractPSDocumentGraphics2D
java.io.IOException
protected void writePageHeader() throws java.io.IOException
AbstractPSDocumentGraphics2D
writePageHeader
in class AbstractPSDocumentGraphics2D
java.io.IOException
- In case an I/O error occursprotected void writePageTrailer() throws java.io.IOException
AbstractPSDocumentGraphics2D
writePageTrailer
in class AbstractPSDocumentGraphics2D
java.io.IOException
- In case an I/O error occursCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.