AreaAnnotation
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.annotation.models.annotationmodels.AnnotationBase, com.groupdocs.annotation.models.annotationmodels.AnnotationBaseProps
All Implemented Interfaces: com.groupdocs.annotation.models.annotationmodels.interfaces.annotations.IAreaAnnotation
public class AreaAnnotation extends AnnotationBaseProps implements IAreaAnnotation
Represents area annotation properties
| Constructor | Description |
|---|---|
| AreaAnnotation() | Initializes new instance of AreaAnnotation class. |
| Method | Description |
|---|---|
| getPenStyle() | Gets or sets annotation pen style |
| setPenStyle(Byte value) | Gets or sets annotation pen style |
| equals(AreaAnnotation other) | Compares Area Annotations using IEquatable Equals method |
| deepClone() | Returns new Instance with same values |
| equals(Object o) | |
| hashCode() | |
| toString() | |
| toString(ToStringStyle toStringStyle) |
public AreaAnnotation()
Initializes new instance of AreaAnnotation class.
public final Byte getPenStyle()
Gets or sets annotation pen style
Returns: java.lang.Byte -
public final void setPenStyle(Byte value)
Gets or sets annotation pen style
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Byte |
public final boolean equals(AreaAnnotation other)
Compares Area Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | AreaAnnotation | The AreaAnnotation object to compare with the current object |
Returns: boolean -
public Object deepClone()
Returns new Instance with same values
Returns: java.lang.Object -
public boolean equals(Object o)
Compares Base Annotations using standard object Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object |
Returns: boolean
public int hashCode()
Returns HashCode of AnnotationBase Message, PageNumber and Type Properties
Returns: int
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.