Schnittstelle IPdfBoxGraphics2DPaintApplier

Alle bekannten Implementierungsklassen:
PdfBoxGraphics2DPaintApplier

public interface IPdfBoxGraphics2DPaintApplier
Apply the given paint on the Content Stream.
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static interface 
    The different mappers used by the paint applier.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.apache.pdfbox.pdmodel.graphics.shading.PDShading
    applyPaint(Paint paint, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, AffineTransform currentTransform, IPdfBoxGraphics2DPaintApplier.IPaintEnv env)
    Apply the paint on the ContentStream
  • Methodendetails

    • applyPaint

      org.apache.pdfbox.pdmodel.graphics.shading.PDShading applyPaint(Paint paint, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, AffineTransform currentTransform, IPdfBoxGraphics2DPaintApplier.IPaintEnv env) throws IOException
      Apply the paint on the ContentStream
      Parameter:
      paint - the paint which should be applied
      contentStream - the content stream to apply the paint on
      currentTransform - the current transform of the Graphics2D relative to the contentStream default coordinate space. This is always a copy of the current transform, so we can modify it.
      env - Environment for mapping the paint.
      Gibt zurück:
      null or a PDShading which should be used to fill a shape.
      Löst aus:
      IOException - if its not possible to write the paint into the contentStream