public abstract class WatermarkOptions extends ValueObject implements Cloneable, Serializable
Options for settings watermark to the converted document
Constructor and Description |
---|
WatermarkOptions()
Create WatermarkOptions class and set watermark text
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone current instance
|
boolean |
getBackground()
Indicates that the watermark is stamped as background.
|
int |
getHeight()
Watermark height
|
int |
getLeft()
Watermark left position
|
int |
getRotationAngle()
Watermark rotation angle
|
int |
getTop()
Watermark top position
|
double |
getTransparency()
Watermark transparency.
|
int |
getWidth()
Watermark width
|
boolean |
isAutoAlign() |
void |
setAutoAlign(boolean autoAlign) |
void |
setBackground(boolean value)
Indicates that the watermark is stamped as background.
|
void |
setHeight(int value)
Watermark height
|
void |
setLeft(int value)
Watermark left position
|
void |
setRotationAngle(int value)
Watermark rotation angle
|
void |
setTop(int value)
Watermark top position
|
void |
setTransparency(double value)
Watermark transparency.
|
void |
setWidth(int value)
Watermark width
|
equals, equals, hashCode, op_Equality, op_Inequality
public WatermarkOptions()
Create WatermarkOptions class and set watermark text
public final int getWidth()
Watermark width
public final void setWidth(int value)
Watermark width
public final int getHeight()
Watermark height
public final void setHeight(int value)
Watermark height
public final int getTop()
Watermark top position
public final void setTop(int value)
Watermark top position
public final int getLeft()
Watermark left position
public final void setLeft(int value)
Watermark left position
public final int getRotationAngle()
Watermark rotation angle
public final void setRotationAngle(int value)
Watermark rotation angle
public final double getTransparency()
Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.
public final void setTransparency(double value)
Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.
public final boolean getBackground()
Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top.
public final void setBackground(boolean value)
Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top.
public boolean isAutoAlign()
public void setAutoAlign(boolean autoAlign)
public final Object deepClone()
Clone current instance