Package de.rototor.pdfbox.graphics2d
Klasse PdfBoxGraphics2DDrawControlDefault
java.lang.Object
de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DDrawControlDefault
- Alle implementierten Schnittstellen:
IPdfBoxGraphics2DDrawControl
public class PdfBoxGraphics2DDrawControlDefault
extends Object
implements IPdfBoxGraphics2DDrawControl
Default implementation which does nothing. You can derive from it to only
override the needed methods
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DDrawControl
IPdfBoxGraphics2DDrawControl.IDrawControlEnv -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
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.
-
Felddetails
-
INSTANCE
-
-
Konstruktordetails
-
PdfBoxGraphics2DDrawControlDefault
protected PdfBoxGraphics2DDrawControlDefault()
-
-
Methodendetails
-
transformShapeBeforeFill
public Shape transformShapeBeforeFill(Shape shape, IPdfBoxGraphics2DDrawControl.IDrawControlEnv env) Beschreibung aus Schnittstelle kopiert:IPdfBoxGraphics2DDrawControlYou 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.- Angegeben von:
transformShapeBeforeFillin SchnittstelleIPdfBoxGraphics2DDrawControl- 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
public Shape transformShapeBeforeDraw(Shape shape, IPdfBoxGraphics2DDrawControl.IDrawControlEnv env) Beschreibung aus Schnittstelle kopiert:IPdfBoxGraphics2DDrawControlYou 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.- Angegeben von:
transformShapeBeforeDrawin SchnittstelleIPdfBoxGraphics2DDrawControl- 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
Beschreibung aus Schnittstelle kopiert:IPdfBoxGraphics2DDrawControlCalled after shape was filled. This method is always called, even ifIPdfBoxGraphics2DDrawControl.transformShapeBeforeFill(java.awt.Shape, IDrawControlEnv)returns null.- Angegeben von:
afterShapeFillin SchnittstelleIPdfBoxGraphics2DDrawControl- Parameter:
shape- the shape that was filled. This is the original shape, not the one transformed byIPdfBoxGraphics2DDrawControl.transformShapeBeforeFill(java.awt.Shape, IDrawControlEnv).env- Environment
-
afterShapeDraw
Beschreibung aus Schnittstelle kopiert:IPdfBoxGraphics2DDrawControlCalled after shape was drawn. This method is always called, even ifIPdfBoxGraphics2DDrawControl.transformShapeBeforeDraw(java.awt.Shape, IDrawControlEnv)returns null.- Angegeben von:
afterShapeDrawin SchnittstelleIPdfBoxGraphics2DDrawControl- Parameter:
shape- the shape that was drawn. This is the original shape, not the one transformed byIPdfBoxGraphics2DDrawControl.transformShapeBeforeDraw(java.awt.Shape, IDrawControlEnv).env- Environment
-