public interface IPdfBoxGraphics2DPaintApplier
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IPdfBoxGraphics2DPaintApplier.IPaintEnv
The different mappers used by the paint applier.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
org.apache.pdfbox.pdmodel.graphics.shading.PDShading applyPaint(Paint paint, org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, AffineTransform currentTransform, IPdfBoxGraphics2DPaintApplier.IPaintEnv env) throws IOException
paint - the paint which should be appliedcontentStream - the content stream to apply the paint oncurrentTransform - the current transform of the Graphics2D relative to the
contentStream default coordinate space.env - Environment for mapping the paint.IOExceptionCopyright © 2017. All rights reserved.