ShapePossibleWatermark
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.search.PossibleWatermark, com.groupdocs.watermark.search.TwoDObjectPossibleWatermark
public abstract class ShapePossibleWatermark<T> extends TwoDObjectPossibleWatermark
Represents shape watermark in a content of any supported format.
T : The type of the shape.
| Method | Description |
|---|---|
| getRotateAngle() | Gets the rotate angle of the shape in degrees. |
| getFormattedTextFragments() | Gets the collection of formatted text fragments of the shape. |
| getText() | Gets the text of the shape. |
| setText(String value) | Sets the text of the shape. |
| getImageInternally() | |
| remove() |
public double getRotateAngle()
Gets the rotate angle of the shape in degrees.
Returns: double - The rotate angle of the shape in degrees.
public FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of the shape.
Returns: FormattedTextFragmentCollection - The collection of formatted text fragments of shape.
public String getText()
Gets the text of the shape.
Returns: java.lang.String - The text of the shape.
public void setText(String value)
Sets the text of the shape.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The text of the shape. |
public WatermarkableImage getImageInternally()
Returns: WatermarkableImage
public void remove()
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.