| org.apache.xmlgraphics.java2d.ps.PSGraphics2D org.apache.xmlgraphics.java2d.ps.AbstractPSDocumentGraphics2D org.apache.xmlgraphics.java2d.ps.PSDocumentGraphics2D
PSDocumentGraphics2D | public PSDocumentGraphics2D(boolean textAsShapes)(Code) | | Create a new AbstractPSDocumentGraphics2D.
This is used to create a new PostScript document, the height,
width and output stream can be setup later.
For use by the transcoder which needs font information
for the bridge before the document size is known.
The resulting document is written to the stream after rendering.
Parameters: textAsShapes - set this to true so that text will be renderedusing curves and not the font. |
PSDocumentGraphics2D | public PSDocumentGraphics2D(boolean textAsShapes, OutputStream stream, int width, int height) throws IOException(Code) | | Create a new AbstractPSDocumentGraphics2D.
This is used to create a new PostScript document of the given height
and width.
The resulting document is written to the stream after rendering.
Parameters: textAsShapes - set this to true so that text will be renderedusing curves and not the font. Parameters: stream - the stream that the final document should be written to. Parameters: width - the width of the document Parameters: height - the height of the document throws: IOException - an io exception if there is a problemwriting to the output stream |
PSDocumentGraphics2D | public PSDocumentGraphics2D(PSDocumentGraphics2D g)(Code) | | This constructor supports the create method
Parameters: g - the PostScript document graphics to make a copy of |
create | public Graphics create()(Code) | | Creates a new Graphics object that is
a copy of this Graphics object.
a new graphics context that is a copy ofthis graphics context. |
Methods inherited from org.apache.xmlgraphics.java2d.ps.PSGraphics2D | protected void applyPaint(Paint paint, boolean fill)(Code)(Java Doc) protected void applyStroke(Stroke stroke)(Code)(Java Doc) public BufferedImage buildBufferedImage(Dimension size)(Code)(Java Doc) public void copyArea(int x, int y, int width, int height, int dx, int dy)(Code)(Java Doc) public Graphics create()(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected void doDrawing(boolean fill, boolean stroke, boolean nonzero) throws IOException(Code)(Java Doc) public void draw(Shape s)(Code)(Java Doc) public boolean drawImage(Image img, int x, int y, ImageObserver observer)(Code)(Java Doc) public boolean drawImage(Image img, int x, int y, int width, int height, ImageObserver observer)(Code)(Java Doc) public void drawRenderableImage(RenderableImage img, AffineTransform xform)(Code)(Java Doc) public void drawRenderedImage(RenderedImage img, AffineTransform xform)(Code)(Java Doc) public void drawString(String s, float x, float y)(Code)(Java Doc) public void establishColor(Color c) throws IOException(Code)(Java Doc) public void fill(Shape s)(Code)(Java Doc) public TextHandler getCustomTextHandler()(Code)(Java Doc) public GraphicsConfiguration getDeviceConfiguration()(Code)(Java Doc) public TextHandler getFallbackTextHandler()(Code)(Java Doc) public java.awt.FontMetrics getFontMetrics(java.awt.Font f)(Code)(Java Doc) public PSGenerator getPSGenerator()(Code)(Java Doc) public void handleIOException(IOException ioe)(Code)(Java Doc) public void preparePainting()(Code)(Java Doc) public void processPathIterator(PathIterator iter) throws IOException(Code)(Java Doc) public void setCustomTextHandler(TextHandler handler)(Code)(Java Doc) public void setGraphicContext(GraphicContext c)(Code)(Java Doc) public void setPSGenerator(PSGenerator gen)(Code)(Java Doc) public void setXORMode(Color c1)(Code)(Java Doc) public void writeClip(Shape s)(Code)(Java Doc)
|
|
|