ResourcesRedactionAnnotation
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IResourcesRedactionAnnotation
public class ResourcesRedactionAnnotation extends AnnotationBase implements IResourcesRedactionAnnotation
Represents Resources redaction annotation properties
Constructors
| Constructor | Description | 
|---|---|
| ResourcesRedactionAnnotation() | Initializes new instance of ResourcesRedactionAnnotation class. | 
Methods
| Method | Description | 
|---|---|
| getBox() | Gets or sets annotation position | 
| setBox(Rectangle value) | Gets or sets annotation position | 
| equals(ResourcesRedactionAnnotation other) | Compares Resources Redaction Annotations using IEquatable Equals method | 
| equals(Object o) | Compares Resources Redaction Annotations using standard object Equals method | 
| hashCode() | Returns HashCode of Resources Redaction Annotation | 
| deepClone() | Returns new Instance with same values | 
| toString() | |
| toString(ToStringStyle toStringStyle) | 
ResourcesRedactionAnnotation()
public ResourcesRedactionAnnotation()
Initializes new instance of ResourcesRedactionAnnotation class.
getBox()
public final Rectangle getBox()
Gets or sets annotation position
Returns: Rectangle -
setBox(Rectangle value)
public final void setBox(Rectangle value)
Gets or sets annotation position
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| value | Rectangle | 
equals(ResourcesRedactionAnnotation other)
public final boolean equals(ResourcesRedactionAnnotation other)
Compares Resources Redaction Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| other | ResourcesRedactionAnnotation | The ResourcesRedactionAnnotation object to compare with the current object | 
Returns: boolean -
equals(Object o)
public boolean equals(Object o)
Compares Resources 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 Resources 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