Package de.rototor.pdfbox.graphics2d
Schnittstelle IPdfBoxGraphics2DDrawControl
- Alle bekannten Implementierungsklassen:
PdfBoxGraphics2DDrawControlDefault
public interface IPdfBoxGraphics2DDrawControl
Allows you to influence the fill and draw operations. You can alter the shape
to draw/fill, you can even filter out the complete draw/fill operation.
And you can draw additional stuff after the draw/fill operation, e.g. to
implement overfill.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interfaceThe environment of the draw operation -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidCalled after shape was drawn.voidCalled after shape was filled.You may optional change the shape that is going to be drawn.You may optional change the shape that is going to be filled.
-
Methodendetails
-
transformShapeBeforeFill
You may optional change the shape that is going to be filled. You can also do other stuff here like drawing an overfill before the real shape.- Parameter:
shape- the shape that will be drawnenv- Environment- Gibt zurück:
- the shape to be filled. If you return null, nothing will be filled
-
transformShapeBeforeDraw
You may optional change the shape that is going to be drawn. You can also do other stuff here like drawing an overfill before the real shape.- Parameter:
shape- the shape that will be drawnenv- Environment- Gibt zurück:
- the shape to be filled. If you return null, nothing will be drawn
-
afterShapeFill
Called after shape was filled. This method is always called, even iftransformShapeBeforeFill(java.awt.Shape, IDrawControlEnv)returns null.- Parameter:
shape- the shape that was filled. This is the original shape, not the one transformed bytransformShapeBeforeFill(java.awt.Shape, IDrawControlEnv).env- Environment
-
afterShapeDraw
Called after shape was drawn. This method is always called, even iftransformShapeBeforeDraw(java.awt.Shape, IDrawControlEnv)returns null.- Parameter:
shape- the shape that was drawn. This is the original shape, not the one transformed bytransformShapeBeforeDraw(java.awt.Shape, IDrawControlEnv).env- Environment
-