TwoDObjectPossibleWatermark
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.
Methods
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. |
getWidth()
public double getWidth()
Gets the width of the 2D object.
Returns: double - The width of the 2D object.
getHeight()
public double getHeight()
Gets the height of the 2D object.
Returns: double - The height of the 2D object.
getX()
public double getX()
Gets the x-coordinate of the 2D object.
Returns: double - The x-coordinate of the 2D object.
getY()
public double getY()
Gets the y-coordinate of the 2D object.
Returns: double - The y-coordinate of the 2D object.
getRotateAngle()
public double getRotateAngle()
Gets the rotate angle of the 2D object in degrees.
Returns: double - The rotate angle of the 2D object in degrees.
getUnitOfMeasurement()
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.