TextRedactionAnnotation
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.ITextRedactionAnnotation
public class TextRedactionAnnotation extends AnnotationBase implements ITextRedactionAnnotation
Represents Text redaction annotation properties
Constructors
| Constructor | Description | 
|---|---|
| TextRedactionAnnotation() | Initializes new instance of TextRedactionAnnotation class. | 
Methods
| Method | Description | 
|---|---|
| getFontColor() | Gets or sets annotation text font color | 
| setFontColor(Integer value) | Gets or sets annotation text font color | 
| 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 | 
| equals(TextRedactionAnnotation other) | Compares Text Redaction Annotations using IEquatable Equals method | 
| equals(Object o) | Compares Text Redaction Annotations using standard object Equals method | 
| hashCode() | Returns HashCode of Text Redaction Annotation | 
| deepClone() | Returns new Instance with same values | 
| toString() | |
| toString(ToStringStyle toStringStyle) | 
TextRedactionAnnotation()
public TextRedactionAnnotation()
Initializes new instance of TextRedactionAnnotation class.
getFontColor()
public final Integer getFontColor()
Gets or sets annotation text font color
Returns: java.lang.Integer -
setFontColor(Integer value)
public final void setFontColor(Integer value)
Gets or sets annotation text font color
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | java.lang.Integer | 
getPoints()
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> -
setPoints(List value) 
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> | 
equals(TextRedactionAnnotation other)
public final boolean equals(TextRedactionAnnotation other)
Compares Text Redaction Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| other | TextRedactionAnnotation | The TextRedactionAnnotation object to compare with the current object | 
Returns: boolean
equals(Object o)
public boolean equals(Object o)
Compares Text Redaction Annotations using standard object Equals method
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| o | java.lang.Object | The object to compare with the current object | 
Returns: boolean
hashCode()
public int hashCode()
Returns HashCode of Text Redaction Annotation
Returns: int
deepClone()
public Object deepClone()
Returns new Instance with same values
Returns: java.lang.Object -
toString()
public String toString()
Returns: java.lang.String
toString(ToStringStyle toStringStyle)
public String toString(ToStringStyle toStringStyle)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| toStringStyle | org.apache.commons.lang3.builder.ToStringStyle | 
Returns: java.lang.String