Interface IPdfBoxGraphics2DPaintApplier.IPaintEnv

  • Enclosing interface:
    IPdfBoxGraphics2DPaintApplier

    public static interface IPdfBoxGraphics2DPaintApplier.IPaintEnv
    The different mappers used by the paint applier. This interface is implemented internally by PdfBoxGraphics2D
    • Method Detail

      • getDocument

        org.apache.pdfbox.pdmodel.PDDocument getDocument()
        Returns:
        the document
      • getResources

        org.apache.pdfbox.pdmodel.PDResources getResources()
        Returns:
        the resource of the content stream
      • getXORMode

        Color getXORMode()
        Returns:
        the Graphics2D XOR Mode Color or null if paint mode is active.
      • getShapeToDraw

        Shape getShapeToDraw()
        The shape information is need to be able to correctly render grandients.
        Returns:
        get the shape which will be drawn or filled with this paint. Null is returned if no shape is known.