Package de.rototor.pdfbox.graphics2d
Schnittstelle IPdfBoxGraphics2DPaintApplier.IPaintEnv
- Umschließende Schnittstelle:
IPdfBoxGraphics2DPaintApplier
public static interface IPdfBoxGraphics2DPaintApplier.IPaintEnv
The different mappers used by the paint applier. This interface is
implemented internally by
PdfBoxGraphics2D-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidCall this to ensure that the current shape has been walked on the content stream.org.apache.pdfbox.pdmodel.PDDocumentorg.apache.pdfbox.pdmodel.PDResourcesThe shape information is need to be able to correctly render grandients.
-
Methodendetails
-
getColorMapper
IPdfBoxGraphics2DColorMapper getColorMapper()- Gibt zurück:
- the color mapper
-
getImageEncoder
IPdfBoxGraphics2DImageEncoder getImageEncoder()- Gibt zurück:
- the image encoder
-
getDocument
org.apache.pdfbox.pdmodel.PDDocument getDocument()- Gibt zurück:
- the document
-
getResources
org.apache.pdfbox.pdmodel.PDResources getResources()- Gibt zurück:
- the resource of the content stream
-
getComposite
Composite getComposite()- Gibt zurück:
- the
Graphics2DComposite
-
getGraphics2D
PdfBoxGraphics2D getGraphics2D()- Gibt zurück:
- The PdfBoxGraphics2D
-
getXORMode
Color getXORMode()- Gibt zurück:
- the
Graphics2DXOR ModeColoror null if paint mode is active.
-
getShapeToDraw
Shape getShapeToDraw()The shape information is need to be able to correctly render grandients.- Gibt zurück:
- get the shape which will be drawn or filled with this paint. Null is returned if no shape is known.
-
ensureShapeIsWalked
Call this to ensure that the current shape has been walked on the content stream. You are not allowed to do any graphics state changes after this, as this would be illegal in PDF. (But most PDF reader render this fine anyway...)
This mostly only needed for ShadedFills- Löst aus:
IOException
-