Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Graphics create()  
      java.awt.Graphics create​(double x, double y, double width, double height)  
      java.awt.GraphicsConfiguration getDeviceConfiguration()  
      • 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.graphicsio.VectorGraphicsIO

        copyResourceTo, copyResourceTo
      • 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
      • Methods inherited from class java.awt.Graphics2D

        draw3DRect, fill3DRect
      • Methods inherited from class java.awt.Graphics

        drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipRect, getFontMetrics, hitClip
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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)
    • Method Detail

      • getDeviceConfiguration

        public java.awt.GraphicsConfiguration getDeviceConfiguration()
        Overrides:
        getDeviceConfiguration in class org.freehep.graphicsio.pdf.PDFGraphics2D
      • create

        public java.awt.Graphics create()
        Overrides:
        create in class org.freehep.graphicsio.pdf.PDFGraphics2D
      • create

        public java.awt.Graphics create​(double x,
                                        double y,
                                        double width,
                                        double height)
        Overrides:
        create in class org.freehep.graphicsio.pdf.PDFGraphics2D