public abstract class TwoDObjectPossibleWatermark extends PossibleWatermark
Represents 2D object watermark in a content of any supported format.
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight()
Gets the height of the 2D object.
|
double |
getRotateAngle()
Gets the rotate angle of the 2D object in degrees.
|
int |
getUnitOfMeasurement()
Gets the unit of measurement
of the 2D object. |
double |
getWidth()
Gets the width of the 2D object.
|
double |
getX()
Gets the x-coordinate of the 2D object.
|
double |
getY()
Gets the y-coordinate of the 2D object.
|
getCollection, getFormattedTextFragments, getImageData, getImageInternally, getImageSize, getPageNumber, getParent, getText, remove, setCollection, setImageData, setTextpublic double getHeight()
Gets the height of the 2D object.
getHeight in class PossibleWatermarkpublic double getRotateAngle()
Gets the rotate angle of the 2D object in degrees.
getRotateAngle in class PossibleWatermarkpublic int getUnitOfMeasurement()
UnitOfMeasurement
of the 2D object.getUnitOfMeasurement in class PossibleWatermarkUnitOfMeasurement
of the 2D object.public double getWidth()
Gets the width of the 2D object.
getWidth in class PossibleWatermarkpublic double getX()
Gets the x-coordinate of the 2D object.
getX in class PossibleWatermarkpublic double getY()
Gets the y-coordinate of the 2D object.
getY in class PossibleWatermarkCopyright © 2026. All rights reserved.