PointAnnotation
Contents
 [
        
            Hide
        ]
    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
Constructors
| Constructor | Description | 
|---|---|
| PointAnnotation() | Initializes new instance of PointAnnotation class. | 
Methods
| 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) | 
PointAnnotation()
public PointAnnotation()
Initializes new instance of PointAnnotation 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(PointAnnotation other)
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 -
equals(Object o)
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
hashCode()
public int hashCode()
Returns HashCode of Point 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