public class ImageWatermarkOptions
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
double |
getScale()
Gets the scale factor expressed as a fraction of the image.
|
boolean |
isWashout()
Gets a boolean value which is responsible for washout effect of the watermark.
|
void |
isWashout(boolean value)
Sets a boolean value which is responsible for washout effect of the watermark.
|
void |
setScale(double value)
Sets the scale factor expressed as a fraction of the image.
|
public double getScale()
Valid values range from 0 to 65.5 inclusive.
Auto scale means that the watermark will be scaled to its max width and max height relative to the page margins.
java.lang.IllegalArgumentException - Throws when argument was out of the range of valid values.public void setScale(double value)
Valid values range from 0 to 65.5 inclusive.
Auto scale means that the watermark will be scaled to its max width and max height relative to the page margins.
value - The scale factor expressed as a fraction of the image.java.lang.IllegalArgumentException - Throws when argument was out of the range of valid values.public boolean isWashout()
public void isWashout(boolean value)
value - A boolean value which is responsible for washout effect of the watermark.