public class LinkAnnotation extends AnnotationBase implements ILinkAnnotation
Represents Link annotation properties
| Constructor and Description |
|---|
LinkAnnotation()
Initializes new instance of
LinkAnnotation class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(LinkAnnotation other)
Compares Link Annotations using IEquatable Equals method
|
boolean |
equals(Object o)
Compares Link Annotations using standard object Equals method
|
Integer |
getBackgroundColor()
Gets or sets annotation text font color
|
Integer |
getFontColor()
Gets or sets annotation text font color
|
Double |
getOpacity()
Gets or sets annotation opacity
|
List<Point> |
getPoints()
Coordinates
|
String |
getUrl()
Gets or sets annotation link url
|
int |
hashCode()
Returns HashCode of Link Annotation
|
void |
setBackgroundColor(Integer value)
Gets or sets annotation text font color
|
void |
setFontColor(Integer value)
Gets or sets annotation text font color
|
void |
setOpacity(Double value)
Gets or sets annotation opacity
|
void |
setPoints(List<Point> value)
Coordinates
|
void |
setUrl(String value)
Gets or sets annotation link url
|
String |
toString() |
String |
toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle) |
equals, getCounter, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCounter, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUserpublic LinkAnnotation()
Initializes new instance of LinkAnnotation class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic final boolean equals(LinkAnnotation other)
Compares Link Annotations using IEquatable Equals method
other - The LinkAnnotation object to compare with the current objectpublic boolean equals(Object o)
Compares Link Annotations using standard object Equals method
equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>equals in class AnnotationBaseo - The object to compare with the current objectpublic final Integer getBackgroundColor()
Gets or sets annotation text font color
getBackgroundColor in interface IBackgroundColorpublic final Integer getFontColor()
Gets or sets annotation text font color
getFontColor in interface IFontColorpublic final Double getOpacity()
Gets or sets annotation opacity
getOpacity in interface IOpacitypublic final String getUrl()
Gets or sets annotation link url
public int hashCode()
Returns HashCode of Link Annotation
hashCode in class AnnotationBasepublic final void setBackgroundColor(Integer value)
Gets or sets annotation text font color
setBackgroundColor in interface IBackgroundColorvalue - public final void setFontColor(Integer value)
Gets or sets annotation text font color
setFontColor in interface IFontColorvalue - public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity in interface IOpacityvalue - public final void setUrl(String value)
Gets or sets annotation link url
public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.