public class PSSVGGraphics2D
extends org.apache.xmlgraphics.java2d.ps.PSGraphics2D
Constructor and Description |
---|
PSSVGGraphics2D(boolean textAsShapes)
Create a new Graphics2D that generates PostScript code.
|
PSSVGGraphics2D(boolean textAsShapes,
org.apache.xmlgraphics.ps.PSGenerator gen)
Create a new Graphics2D that generates PostScript code.
|
PSSVGGraphics2D(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g)
Constructor for creating copies
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyPaint(Paint paint,
boolean fill) |
Graphics |
create()
Creates a new
Graphics object that is
a copy of this Graphics object. |
applyStroke, applyStroke, buildBufferedImage, copyArea, disableClipping, dispose, doDrawing, draw, drawImage, drawImage, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, establishColor, fill, getCustomTextHandler, getDeviceConfiguration, getFallbackTextHandler, getFontMetrics, getPSGenerator, handleIOException, preparePainting, processPathIterator, processPathIteratorCached, processPathIteratorToString, processShape, setCustomTextHandler, setGraphicContext, setPSGenerator, setXORMode, shouldBeClipped, 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
draw3DRect, fill3DRect
create, drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString
public PSSVGGraphics2D(boolean textAsShapes)
textAsShapes
- True if text should be rendered as graphicsAbstractGraphics2D.AbstractGraphics2D(boolean)
public PSSVGGraphics2D(boolean textAsShapes, org.apache.xmlgraphics.ps.PSGenerator gen)
textAsShapes
- True if text should be rendered as graphicsgen
- PostScript generator to use for outputAbstractGraphics2D.AbstractGraphics2D(boolean)
public PSSVGGraphics2D(org.apache.xmlgraphics.java2d.ps.PSGraphics2D g)
g
- parent PostScript Graphics2Dprotected void applyPaint(Paint paint, boolean fill)
applyPaint
in class org.apache.xmlgraphics.java2d.ps.PSGraphics2D
public Graphics create()
Graphics
object that is
a copy of this Graphics
object.create
in class org.apache.xmlgraphics.java2d.ps.PSGraphics2D
Copyright © 2025 Apache Software Foundation. All rights reserved.