TwoDObjectPossibleWatermark
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.search.PossibleWatermark
public abstract class TwoDObjectPossibleWatermark extends PossibleWatermark
Represents 2D object watermark in a content of any supported format.
| Method | Description |
|---|---|
| getWidth() | Gets the width of the 2D object. |
| getHeight() | Gets the height of the 2D object. |
| getX() | Gets the x-coordinate of the 2D object. |
| getY() | Gets the y-coordinate of the 2D object. |
| getRotateAngle() | Gets the rotate angle of the 2D object in degrees. |
| getUnitOfMeasurement() | Gets the unit of measurement [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of the 2D object. |
public double getWidth()
Gets the width of the 2D object.
Returns: double - The width of the 2D object.
public double getHeight()
Gets the height of the 2D object.
Returns: double - The height of the 2D object.
public double getX()
Gets the x-coordinate of the 2D object.
Returns: double - The x-coordinate of the 2D object.
public double getY()
Gets the y-coordinate of the 2D object.
Returns: double - The y-coordinate of the 2D object.
public double getRotateAngle()
Gets the rotate angle of the 2D object in degrees.
Returns: double - The rotate angle of the 2D object in degrees.
public int getUnitOfMeasurement()
Gets the unit of measurement [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of the 2D object.
Returns:
int - The unit of measurement [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of the 2D object.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.