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.
|
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
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() |
protected Object |
memberwiseClone() |
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_Inequalitypublic WatermarkOptions()
Create WatermarkOptions class and set watermark text
public final Object deepClone()
Clone current instance
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.
protected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class ValueObjectpublic final int getHeight()
Watermark height
public final int getLeft()
Watermark left position
public final int getRotationAngle()
Watermark rotation angle
public final int getTop()
Watermark top position
public final double getTransparency()
Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.
public final int getWidth()
Watermark width
public boolean isAutoAlign()
protected Object memberwiseClone()
public void setAutoAlign(boolean autoAlign)
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 final void setHeight(int value)
Watermark height
public final void setLeft(int value)
Watermark left position
public final void setRotationAngle(int value)
Watermark rotation angle
public final void setTop(int value)
Watermark top position
public final void setTransparency(double value)
Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.
public final void setWidth(int value)
Watermark width
Copyright © 2024. All rights reserved.