ShapePossibleWatermark
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.
Methods
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() |
getRotateAngle()
public double getRotateAngle()
Gets the rotate angle of the shape in degrees.
Returns: double - The rotate angle of the shape in degrees.
getFormattedTextFragments()
public FormattedTextFragmentCollection getFormattedTextFragments()
Gets the collection of formatted text fragments of the shape.
Returns: FormattedTextFragmentCollection - The collection of formatted text fragments of shape.
getText()
public String getText()
Gets the text of the shape.
Returns: java.lang.String - The text of the shape.
setText(String value)
public void setText(String value)
Sets the text of the shape.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | The text of the shape. |
getImageInternally()
public WatermarkableImage getImageInternally()
Returns: WatermarkableImage
remove()
public void remove()