public class AreaAnnotation extends AnnotationBase implements IAreaAnnotation
Represents area annotation properties
Counter
Constructor and Description |
---|
AreaAnnotation()
Initializes new instance of
AreaAnnotation class. |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(AreaAnnotation other)
Compares Area Annotations using IEquatable Equals method
|
boolean |
equals(Object o)
Compares Area Annotations using standard object Equals method
|
Integer |
getBackgroundColor()
Gets or sets annotation background color
|
Rectangle |
getBox()
Gets or sets annotation position
|
Double |
getOpacity()
Gets or sets annotation opacity
|
Integer |
getPenColor()
Gets or sets annotation pen color
|
Byte |
getPenStyle()
Gets or sets annotation pen style
|
Byte |
getPenWidth()
Gets or sets annotation pen width
|
int |
hashCode()
Returns HashCode of Area Annotation
|
void |
setBackgroundColor(Integer value)
Gets or sets annotation background color
|
void |
setBox(Rectangle value)
Gets or sets annotation position
|
void |
setOpacity(Double value)
Gets or sets annotation opacity
|
void |
setPenColor(Integer value)
Gets or sets annotation pen color
|
void |
setPenStyle(Byte value)
Gets or sets annotation pen style
|
void |
setPenWidth(Byte value)
Gets or sets annotation pen width
|
String |
toString() |
equals, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUser
public AreaAnnotation()
Initializes new instance of AreaAnnotation
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(AreaAnnotation other)
Compares Area Annotations using IEquatable Equals method
other
- The AreaAnnotation object to compare with the current objectpublic boolean equals(Object o)
Compares Area Annotations using standard object Equals method
equals
in interface com.aspose.ms.System.IEquatable<AnnotationBase>
equals
in class AnnotationBase
o
- The object to compare with the current objectpublic final Integer getBackgroundColor()
Gets or sets annotation background color
getBackgroundColor
in interface IBackgroundColor
public final Rectangle getBox()
Gets or sets annotation position
public final Double getOpacity()
Gets or sets annotation opacity
getOpacity
in interface IOpacity
public final Integer getPenColor()
Gets or sets annotation pen color
getPenColor
in interface IPenColor
public final Byte getPenStyle()
Gets or sets annotation pen style
getPenStyle
in interface IPenStyle
public final Byte getPenWidth()
Gets or sets annotation pen width
getPenWidth
in interface IPenWidth
public int hashCode()
Returns HashCode of Area 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 setBox(Rectangle value)
Gets or sets annotation position
public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity
in interface IOpacity
value
- public final void setPenColor(Integer value)
Gets or sets annotation pen color
setPenColor
in interface IPenColor
value
- public final void setPenStyle(Byte value)
Gets or sets annotation pen style
setPenStyle
in interface IPenStyle
value
- public final void setPenWidth(Byte value)
Gets or sets annotation pen width
setPenWidth
in interface IPenWidth
value
- public String toString()
toString
in class AnnotationBase