public abstract class AttachedImagePossibleWatermark<T extends Attachment> extends PossibleWatermark
Represents attached image watermark in a content of any supported format.
T
: The type of the attachment.
Modifier and Type | Method and Description |
---|---|
double |
getHeight()
Gets the height of this
. |
ContentPart |
getParent()
Gets the parent of this
. |
double |
getRotateAngle()
Gets the rotate angle of this
in degrees. |
int |
getUnitOfMeasurement()
Gets the unit of measurement
of this . |
double |
getWidth()
Gets the width of this
. |
double |
getX()
Gets the x-coordinate of this
. |
double |
getY()
Gets the y-coordinate of this
. |
getFormattedTextFragments, getImageData, getText, setImageData, setText
public ContentPart getParent()
AttachedImagePossibleWatermark
.getParent
in class PossibleWatermark
AttachedImagePossibleWatermark
.public double getWidth()
AttachedImagePossibleWatermark
.getWidth
in class PossibleWatermark
AttachedImagePossibleWatermark
.public double getHeight()
AttachedImagePossibleWatermark
.getHeight
in class PossibleWatermark
AttachedImagePossibleWatermark
.public double getX()
AttachedImagePossibleWatermark
.getX
in class PossibleWatermark
AttachedImagePossibleWatermark
.public double getY()
AttachedImagePossibleWatermark
.getY
in class PossibleWatermark
AttachedImagePossibleWatermark
.public double getRotateAngle()
AttachedImagePossibleWatermark
in degrees.getRotateAngle
in class PossibleWatermark
AttachedImagePossibleWatermark
.public int getUnitOfMeasurement()
UnitOfMeasurement
of this AttachedImagePossibleWatermark
.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of this AttachedImagePossibleWatermark
.