public class PdfBoxGraphics2DDrawControlDefault extends Object implements IPdfBoxGraphics2DDrawControl
IPdfBoxGraphics2DDrawControl.IDrawControlEnv| Modifier and Type | Field and Description |
|---|---|
static PdfBoxGraphics2DDrawControlDefault |
INSTANCE |
| Modifier | Constructor and Description |
|---|---|
protected |
PdfBoxGraphics2DDrawControlDefault() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterShapeDraw(Shape shape,
IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
Called after shape was drawn.
|
void |
afterShapeFill(Shape shape,
IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
Called after shape was filled.
|
Shape |
transformShapeBeforeDraw(Shape shape,
IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
You may optional change the shape that is going to be drawn.
|
Shape |
transformShapeBeforeFill(Shape shape,
IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
You may optional change the shape that is going to be filled.
|
public static final PdfBoxGraphics2DDrawControlDefault INSTANCE
protected PdfBoxGraphics2DDrawControlDefault()
public Shape transformShapeBeforeFill(Shape shape, IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
IPdfBoxGraphics2DDrawControltransformShapeBeforeFill in interface IPdfBoxGraphics2DDrawControlshape - the shape that will be drawnenv - Environmentpublic Shape transformShapeBeforeDraw(Shape shape, IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
IPdfBoxGraphics2DDrawControltransformShapeBeforeDraw in interface IPdfBoxGraphics2DDrawControlshape - the shape that will be drawnenv - Environmentpublic void afterShapeFill(Shape shape, IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
IPdfBoxGraphics2DDrawControlIPdfBoxGraphics2DDrawControl.transformShapeBeforeFill(java.awt.Shape, IDrawControlEnv) returns
null.afterShapeFill in interface IPdfBoxGraphics2DDrawControlshape - the shape that was filled. This is the original shape, not the one
transformed by
IPdfBoxGraphics2DDrawControl.transformShapeBeforeFill(java.awt.Shape, IDrawControlEnv).env - Environmentpublic void afterShapeDraw(Shape shape, IPdfBoxGraphics2DDrawControl.IDrawControlEnv env)
IPdfBoxGraphics2DDrawControlIPdfBoxGraphics2DDrawControl.transformShapeBeforeDraw(java.awt.Shape, IDrawControlEnv) returns
null.afterShapeDraw in interface IPdfBoxGraphics2DDrawControlshape - the shape that was drawn. This is the original shape, not the one
transformed by
IPdfBoxGraphics2DDrawControl.transformShapeBeforeDraw(java.awt.Shape, IDrawControlEnv).env - EnvironmentCopyright © 2022. All rights reserved.