ReplacementAnnotation
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IReplacementAnnotation
public class ReplacementAnnotation extends AnnotationBase implements IReplacementAnnotation
Represents Replacement annotation properties
| Constructor | Description |
|---|---|
| ReplacementAnnotation() | Initializes new instance of ReplacementAnnotation class. |
| Method | Description |
|---|---|
| getFontColor() | Gets or sets annotation text font color |
| setFontColor(Integer value) | Gets or sets annotation text font color |
| getBackgroundColor() | Gets annotation background color |
| setBackgroundColor(Integer value) | Sets annotation background color |
| getFontSize() | Gets or sets annotation text font size |
| setFontSize(Double value) | Gets or sets annotation text font size |
| getOpacity() | Gets or sets annotation opacity |
| setOpacity(Double value) | Gets or sets annotation opacity |
| getPoints() | Gets or sets collection of points that describe rectangles with text |
| setPoints(List |
Gets or sets collection of points that describe rectangles with text |
| getTextToReplace() | Gets or sets text to be replaced |
| setTextToReplace(String value) | Gets or sets text to be replaced |
| equals(ReplacementAnnotation other) | Compares Replacement Annotations using IEquatable Equals method |
| equals(Object o) | Compares Replacement Annotations using standard object Equals method |
| hashCode() | Returns HashCode of Replacement Annotation |
| deepClone() | Returns new Instance with same values |
| toString() | |
| toString(ToStringStyle toStringStyle) |
public ReplacementAnnotation()
Initializes new instance of ReplacementAnnotation class.
public final Integer getFontColor()
Gets or sets annotation text font color
Returns: java.lang.Integer -
public final void setFontColor(Integer value)
Gets or sets annotation text font color
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer |
public final Integer getBackgroundColor()
Gets annotation background color
Returns: java.lang.Integer -
public final void setBackgroundColor(Integer value)
Sets annotation background color
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer |
public final Double getFontSize()
Gets or sets annotation text font size
Returns: java.lang.Double -
public final void setFontSize(Double value)
Gets or sets annotation text font size
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Double |
public final Double getOpacity()
Gets or sets annotation opacity
Returns: java.lang.Double -
public final void setOpacity(Double value)
Gets or sets annotation opacity
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Double |
public final List<Point> getPoints()
Gets or sets collection of points that describe rectangles with text
Returns: java.util.List<com.groupdocs.annotation.models.Point> -
public final void setPoints(List<Point> value)
Gets or sets collection of points that describe rectangles with text
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.util.List<com.groupdocs.annotation.models.Point> |
public final String getTextToReplace()
Gets or sets text to be replaced
Returns: java.lang.String -
public final void setTextToReplace(String value)
Gets or sets text to be replaced
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String |
public final boolean equals(ReplacementAnnotation other)
Compares Replacement Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | ReplacementAnnotation | The ReplacementAnnotation object to compare with the current object |
Returns: boolean -
public boolean equals(Object o)
Compares Replacement Annotations using standard object Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object | The object to compare with the current object |
Returns: boolean
public int hashCode()
Returns HashCode of Replacement Annotation
Returns: int
public Object deepClone()
Returns new Instance with same values
Returns: java.lang.Object
public String toString()
Returns: java.lang.String
public String toString(ToStringStyle toStringStyle)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| toStringStyle | org.apache.commons.lang3.builder.ToStringStyle |
Returns: java.lang.String
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.