public class ExampleColorHandler extends Object implements ColorHandler
| Constructor and Description |
|---|
ExampleColorHandler() |
| Modifier and Type | Method and Description |
|---|---|
BufferedImage |
processImage(BufferedImage image,
int pageNumber,
boolean isPrinting)
allow user to alter colour (ie to convert to bw)
|
void |
setPaint(Graphics2D g2,
PdfPaint col,
int pageNumber,
boolean isPrinting)
allow user to alter colour (ie to convert to bw)
|
public void setPaint(Graphics2D g2, PdfPaint col, int pageNumber, boolean isPrinting)
setPaint in interface ColorHandlerpublic BufferedImage processImage(BufferedImage image, int pageNumber, boolean isPrinting)
processImage in interface ColorHandlerCopyright © 2017. All rights reserved.