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