public class HighlightAnnotation extends AnnotationBase implements IHighlightAnnotation
Represents Highlight annotation properties
Counter
Constructor and Description |
---|
HighlightAnnotation()
Initializes new instance of
HighlightAnnotation class. |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(HighlightAnnotation other)
Compares Highlight Annotations using IEquatable Equals method
|
boolean |
equals(Object obj)
Compares Highlight Annotations using standard object Equals method
|
Integer |
getBackgroundColor()
Gets or sets annotation background color
|
Integer |
getFontColor()
Gets or sets annotation text font color
|
Double |
getOpacity()
Gets or sets annotation opacity
|
List<Point> |
getPoints()
Gets or sets collection of points that describe rectangles with text
|
int |
hashCode()
Returns HashCode of Highlight Annotation
|
void |
setBackgroundColor(Integer value)
Gets or sets annotation background 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)
Gets or sets collection of points that describe rectangles with text
|
String |
toString() |
equals, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUser
public HighlightAnnotation()
Initializes new instance of HighlightAnnotation
class.
public Object deepClone()
Returns new Instance with same values
deepClone
in interface com.aspose.ms.System.ICloneable
deepClone
in class AnnotationBase
public final boolean equals(HighlightAnnotation other)
Compares Highlight Annotations using IEquatable Equals method
other
- The HighlightAnnotation object to compare with the current objectpublic boolean equals(Object obj)
Compares Highlight Annotations using standard object Equals method
equals
in interface com.aspose.ms.System.IEquatable<AnnotationBase>
equals
in class AnnotationBase
obj
- The object to compare with the current objectpublic final Integer getBackgroundColor()
Gets or sets annotation background color
getBackgroundColor
in interface IBackgroundColor
public final Integer getFontColor()
Gets or sets annotation text font color
getFontColor
in interface IFontColor
public final Double getOpacity()
Gets or sets annotation opacity
getOpacity
in interface IOpacity
public final List<Point> getPoints()
Gets or sets collection of points that describe rectangles with text
public int hashCode()
Returns HashCode of Highlight Annotation
hashCode
in class AnnotationBase
public final void setBackgroundColor(Integer value)
Gets or sets annotation background color
setBackgroundColor
in interface IBackgroundColor
value
- public final void setFontColor(Integer value)
Gets or sets annotation text font color
setFontColor
in interface IFontColor
value
- public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity
in interface IOpacity
value
- public final void setPoints(List<Point> value)
Gets or sets collection of points that describe rectangles with text
public String toString()
toString
in class AnnotationBase