public static class PDFWatermark.WatermarkSetting
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
flags
Watermark flags.
|
float |
offsetX
Horizontal offset, in points.
|
float |
offsetY
Vertical offset, in points.
|
int |
opacity
Opacity in percents.
|
int |
position
Position mode.
|
float |
rotation
Rotation angle in degrees.
|
float |
scaleX
Horizontal scale coefficient.
|
float |
scaleY
Vertical scale coefficient.
|
Constructor and Description |
---|
WatermarkSetting() |
public int position
Please refer to constants definitions
and this should be one of these macros.
Default: PDFWatermark.POS_XXX
.POS_TOPLEFT
public float offsetX
public float offsetY
public int flags
Please refer to constant definitions
and this should be one or a combination of these constants.
Default: PDFWatermark.FLAG_XXX
.FLAG_ASPAGECONTENTS
public float scaleX
It should be greater than 0.001f. Default: 1.0f.
public float scaleY
It should be greater than 0.001f. Default: 1.0f.
public float rotation
Default: 0.0f.
public int opacity
0 for transparent and 100 for opaque. Default: 0.