Package org.webswing.services.impl
Class PdfServiceImpl.WebPdfGraphics2D
- java.lang.Object
-
- java.awt.Graphics
-
- java.awt.Graphics2D
-
- org.freehep.graphics2d.VectorGraphics
-
- org.freehep.graphics2d.AbstractVectorGraphics
-
- org.freehep.graphicsio.VectorGraphicsIO
-
- org.freehep.graphicsio.AbstractVectorGraphicsIO
-
- org.freehep.graphicsio.pdf.PDFGraphics2D
-
- org.webswing.services.impl.PdfServiceImpl.WebPdfGraphics2D
-
- All Implemented Interfaces:
org.freehep.graphics2d.font.FontUtilities.ShowString,org.freehep.graphics2d.VectorGraphicsConstants,org.freehep.graphicsio.MultiPageDocument
- Enclosing class:
- PdfServiceImpl
public static class PdfServiceImpl.WebPdfGraphics2D extends org.freehep.graphicsio.pdf.PDFGraphics2D
-
-
Field Summary
-
Fields inherited from class org.freehep.graphicsio.pdf.PDFGraphics2D
AUTHOR, BACKGROUND, BACKGROUND_COLOR, COMPRESS, EMBED_FONTS, EMBED_FONTS_AS, FIT_TO_PAGE, KEYWORDS, ORIENTATION, PAGE_MARGINS, PAGE_SIZE, SUBJECT, THUMBNAIL_SIZE, THUMBNAILS, TITLE, TRANSPARENT, version, VERSION, VERSION4, VERSION5, VERSION6, WRITE_IMAGES_AS
-
Fields inherited from class org.freehep.graphicsio.AbstractVectorGraphicsIO
CLIP, EMIT_ERRORS, EMIT_WARNINGS, TEXT_AS_SHAPES
-
Fields inherited from interface org.freehep.graphics2d.VectorGraphicsConstants
NUMBER_OF_HORIZ_ALIGNMENTS, NUMBER_OF_SYMBOLS, NUMBER_OF_VERTICAL_ALIGNMENTS, SYMBOL_BOX, SYMBOL_CIRCLE, SYMBOL_CROSS, SYMBOL_DIAMOND, SYMBOL_DN_TRIANGLE, SYMBOL_HLINE, SYMBOL_PLUS, SYMBOL_STAR, SYMBOL_UP_TRIANGLE, SYMBOL_VLINE, TEXT_BASELINE, TEXT_BOTTOM, TEXT_CENTER, TEXT_LEFT, TEXT_RIGHT, TEXT_TOP
-
-
Constructor Summary
Constructors Modifier Constructor Description WebPdfGraphics2D(java.io.File file, java.awt.Component component)WebPdfGraphics2D(java.io.File file, java.awt.Dimension size)WebPdfGraphics2D(java.io.OutputStream ros, java.awt.Component component)WebPdfGraphics2D(java.io.OutputStream ros, java.awt.Dimension size)protectedWebPdfGraphics2D(PdfServiceImpl.WebPdfGraphics2D graphics, boolean doRestoreOnDispose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Graphicscreate()java.awt.Graphicscreate(double x, double y, double width, double height)java.awt.GraphicsConfigurationgetDeviceConfiguration()-
Methods inherited from class org.freehep.graphicsio.pdf.PDFGraphics2D
closePage, closeStream, copyArea, draw, fill, getDefaultProperties, isMultiPage, openPage, openPage, setClipEnabled, setDefaultProperties, setFooter, setHeader, setMultiPage, setNonStrokeColor, setPaintMode, setStrokeColor, setXORMode, showString, toString, writeBackground, writeCap, writeClip, writeComment, writeDash, writeFont, writeGraphicsRestore, writeGraphicsSave, writeHeader, writeImage, writeJoin, writeMiterLimit, writePaint, writePaint, writePaint, writePaint, writeSetClip, writeString, writeTrailer, writeTransform, writeWidth
-
Methods inherited from class org.freehep.graphicsio.AbstractVectorGraphicsIO
addRenderingHints, clearRect, clip, clipRect, clipRect, createShape, dispose, drawGlyphVector, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawImage, drawRenderableImage, drawRenderedImage, drawString, drawString, endExport, getClip, getClipBounds, getClipBounds, getComponent, getComposite, getFontMetrics, getFontRenderContext, getRenderingHint, getRenderingHints, getSize, getStroke, getTransform, handleException, overLine, printComment, resetClip, rotate, scale, setClip, setClip, setClip, setColor, setComposite, setFont, setPaint, setRenderingHint, setRenderingHints, setStroke, setTransform, shear, startExport, transform, translate, writeDash, writeError, writeGraphicsState, writeSetTransform, writeStroke, writeWarning, writeWarning
-
Methods inherited from class org.freehep.graphics2d.AbstractVectorGraphics
clearRect, createShape, drawArc, drawArc, drawLine, drawLine, drawOval, drawOval, drawPolygon, drawPolygon, drawPolyline, drawPolyline, drawRect, drawRect, drawRoundRect, drawRoundRect, drawString, drawString, drawString, drawString, drawString, drawString, drawString, drawString, drawSymbol, drawSymbol, drawSymbol, fillAndDraw, fillAndDrawSymbol, fillAndDrawSymbol, fillArc, fillArc, fillOval, fillOval, fillPolygon, fillPolygon, fillRect, fillRect, fillRoundRect, fillRoundRect, fillSymbol, fillSymbol, fillSymbol, getBackground, getColor, getColorMode, getCreator, getFont, getPaint, getPrintColor, getProperties, getProperty, getPropertyColor, getPropertyDimension, getPropertyDouble, getPropertyInsets, getPropertyInt, getPropertyRectangle, hit, initProperties, isDeviceIndependent, isProperty, rotate, setBackground, setColorMode, setCreator, setDeviceIndependent, setLineWidth, setLineWidth, setProperties, translate
-
Methods inherited from class org.freehep.graphics2d.VectorGraphics
create, create, fill, getSymbol, getTextAlignment, getXalignment, getYalignment
-
-
-
-
Constructor Detail
-
WebPdfGraphics2D
public WebPdfGraphics2D(java.io.File file, java.awt.Dimension size) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
WebPdfGraphics2D
public WebPdfGraphics2D(java.io.File file, java.awt.Component component) throws java.io.FileNotFoundException- Throws:
java.io.FileNotFoundException
-
WebPdfGraphics2D
public WebPdfGraphics2D(java.io.OutputStream ros, java.awt.Dimension size)
-
WebPdfGraphics2D
public WebPdfGraphics2D(java.io.OutputStream ros, java.awt.Component component)
-
WebPdfGraphics2D
protected WebPdfGraphics2D(PdfServiceImpl.WebPdfGraphics2D graphics, boolean doRestoreOnDispose)
-
-
Method Detail
-
getDeviceConfiguration
public java.awt.GraphicsConfiguration getDeviceConfiguration()
- Overrides:
getDeviceConfigurationin classorg.freehep.graphicsio.pdf.PDFGraphics2D
-
create
public java.awt.Graphics create()
- Overrides:
createin classorg.freehep.graphicsio.pdf.PDFGraphics2D
-
create
public java.awt.Graphics create(double x, double y, double width, double height)- Overrides:
createin classorg.freehep.graphicsio.pdf.PDFGraphics2D
-
-