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
. |
WatermarkableImage |
getImageInternally() |
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
. |
void |
remove() |
getCollection, getFormattedTextFragments, getImageData, getImageSize, getPageNumber, getText, setCollection, setImageData, setTextpublic double getHeight()
AttachedImagePossibleWatermark.getHeight in class PossibleWatermarkAttachedImagePossibleWatermark.public WatermarkableImage getImageInternally()
getImageInternally in class PossibleWatermarkpublic ContentPart getParent()
AttachedImagePossibleWatermark.getParent in class PossibleWatermarkAttachedImagePossibleWatermark.public double getRotateAngle()
AttachedImagePossibleWatermark in degrees.getRotateAngle in class PossibleWatermarkAttachedImagePossibleWatermark.public int getUnitOfMeasurement()
UnitOfMeasurement
of this AttachedImagePossibleWatermark.getUnitOfMeasurement in class PossibleWatermarkUnitOfMeasurement
of this AttachedImagePossibleWatermark.public double getWidth()
AttachedImagePossibleWatermark.getWidth in class PossibleWatermarkAttachedImagePossibleWatermark.public double getX()
AttachedImagePossibleWatermark.getX in class PossibleWatermarkAttachedImagePossibleWatermark.public double getY()
AttachedImagePossibleWatermark.getY in class PossibleWatermarkAttachedImagePossibleWatermark.public void remove()
remove in class PossibleWatermarkCopyright © 2026. All rights reserved.