| Modifier and Type | Class and Description |
|---|---|
| public static interface | IPdfBoxGraphics2DPaintApplier.
The different mappers used by the paint applier. |
| Modifier and Type | Method and Description |
|---|---|
| public PDShading | Returns: null or a PDShading which should be used to fill a shape.the paint which should be applied paint, PDPageContentStream the content stream to apply the paint on contentStream, AffineTransform the current transform of the Graphics2D relative to the
contentStream default coordinate space. This is always a copy of the
current transform, so we can modify it. currentTransform, IPdfBoxGraphics2DPaintApplier.Environment for mapping the paint. envApply the paint on the ContentStream |
| applyPaint | back to summary |
|---|---|
| public PDShading applyPaint(Paint paint, PDPageContentStream contentStream, AffineTransform currentTransform, IPdfBoxGraphics2DPaintApplier. Apply the paint on the ContentStream
| |
PdfBoxGraphics2D
| Modifier and Type | Method and Description |
|---|---|
| public void | ensureShapeIsWalked()
Call this to ensure that the current shape has been walked on the content stream. |
| public IPdfBoxGraphics2DColorMapper | |
| public Composite | |
| public PDDocument | |
| public PdfBoxGraphics2D | |
| public IPdfBoxGraphics2DImageEncoder | |
| public PDResources | |
| public Shape | Returns: get the shape which will be drawn or filled with this paint. Null is returned if no shape is known.The shape information is need to be able to correctly render grandients. |
| public Color |
| ensureShapeIsWalked | back to summary |
|---|---|
| public void ensureShapeIsWalked() throws IOException 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...) | |
| getColorMapper | back to summary |
|---|---|
public IPdfBoxGraphics2DColorMapper getColorMapper()
| |
| getComposite | back to summary |
|---|---|
public Composite getComposite()
| |
| getDocument | back to summary |
|---|---|
public PDDocument getDocument()
| |
| getGraphics2D | back to summary |
|---|---|
public PdfBoxGraphics2D getGraphics2D()
| |
| getImageEncoder | back to summary |
|---|---|
public IPdfBoxGraphics2DImageEncoder getImageEncoder()
| |
| getResources | back to summary |
|---|---|
public PDResources getResources()
| |
| getShapeToDraw | back to summary |
|---|---|
| public Shape getShapeToDraw() The shape information is need to be able to correctly render grandients.
| |
| getXORMode | back to summary |
|---|---|
public Color getXORMode()
| |