PointAnnotation
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.IPointAnnotation
public class PointAnnotation extends AnnotationBase implements IPointAnnotation
Represents Point annotation properties
| Constructor | Description |
|---|---|
| PointAnnotation() | Initializes new instance of PointAnnotation class. |
| Method | Description |
|---|---|
| getBox() | Gets or sets annotation position |
| setBox(Rectangle value) | Gets or sets annotation position |
| equals(PointAnnotation other) | Compares Point Annotations using IEquatable Equals method |
| equals(Object o) | Compares Point Annotations using standard object Equals method |
| hashCode() | Returns HashCode of Point Annotation |
| deepClone() | Returns new Instance with same values |
| toString() | |
| toString(ToStringStyle toStringStyle) |
public PointAnnotation()
Initializes new instance of PointAnnotation class.
public final Rectangle getBox()
Gets or sets annotation position
Returns: Rectangle
public final void setBox(Rectangle value)
Gets or sets annotation position
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | Rectangle |
public final boolean equals(PointAnnotation other)
Compares Point Annotations using IEquatable Equals method
Parameters:
| Parameter | Type | Description |
|---|---|---|
| other | PointAnnotation | The PointAnnotation object to compare with the current object |
Returns: boolean -
public boolean equals(Object o)
Compares Point 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 Point 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.