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.
|
getFormattedTextFragments, getImageData, getParent, getText, setImageData, setText
public double getWidth()
Gets the width of the 2D object.
getWidth
in class PossibleWatermark
public double getHeight()
Gets the height of the 2D object.
getHeight
in class PossibleWatermark
public double getX()
Gets the x-coordinate of the 2D object.
getX
in class PossibleWatermark
public double getY()
Gets the y-coordinate of the 2D object.
getY
in class PossibleWatermark
public double getRotateAngle()
Gets the rotate angle of the 2D object in degrees.
getRotateAngle
in class PossibleWatermark
public int getUnitOfMeasurement()
UnitOfMeasurement
of the 2D object.getUnitOfMeasurement
in class PossibleWatermark
UnitOfMeasurement
of the 2D object.