AreaAnnotation

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

Constructors

Constructor Description
AreaAnnotation() Initializes new instance of AreaAnnotation class.

Methods

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)

AreaAnnotation()

public AreaAnnotation()

Initializes new instance of AreaAnnotation class.

getPenStyle()

public final Byte getPenStyle()

Gets or sets annotation pen style

Returns: java.lang.Byte -

setPenStyle(Byte value)

public final void setPenStyle(Byte value)

Gets or sets annotation pen style

Parameters:

Parameter Type Description
value java.lang.Byte

equals(AreaAnnotation other)

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 -

deepClone()

public Object deepClone()

Returns new Instance with same values

Returns: java.lang.Object -

equals(Object o)

public boolean equals(Object o)

Compares Base Annotations using standard object Equals method

Parameters:

Parameter Type Description
o java.lang.Object

Returns: boolean

hashCode()

public int hashCode()

Returns HashCode of AnnotationBase Message, PageNumber and Type Properties

Returns: int

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