|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWatermark
This interface is used to display a watermark on a PDF document in the following Java PDF Libraries:
| Field Summary | |
|---|---|
static int |
TYPE_IMAGES
The watermark type used when creating images from a PDF document. |
static int |
TYPE_PRINT
The watermark type used when printing a PDF document. |
static int |
TYPE_VIEWER
The watermark type used when viewing a PDF document. |
| Method Summary | |
|---|---|
void |
drawWatermark(Graphics2D g,
int type,
int pageIndex,
int pageWidth,
int pageHeight)
This method is called by the Java PDF Library to draw a watermark on a PDF document. |
| Field Detail |
|---|
static final int TYPE_IMAGES
static final int TYPE_PRINT
static final int TYPE_VIEWER
| Method Detail |
|---|
void drawWatermark(Graphics2D g,
int type,
int pageIndex,
int pageWidth,
int pageHeight)
g - the Graphics2D object used to draw the watermarktype - a type defined in this class, either TYPE_IMAGES,
TYPE_PRINT, or TYPE_VIEWERpageIndex - the current page index being renderedpageWidth - the page width being renderedpageHeight - the page height being rendered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||