public class DistanceAnnotation extends AnnotationBase implements IDistanceAnnotation
Represents Distance annotation properties
| Constructor and Description |
|---|
DistanceAnnotation()
Initializes new instance of
DistanceAnnotation class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(DistanceAnnotation other)
Compares Distance Annotations using IEquatable Equals method
|
boolean |
equals(Object o)
Compares Distance Annotations using standard object Equals method
|
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 Distance Annotation
|
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() |
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 DistanceAnnotation()
Initializes new instance of DistanceAnnotation class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic final boolean equals(DistanceAnnotation other)
Compares Distance Annotations using IEquatable Equals method
other - The DistanceAnnotation object to compare with the current
objectpublic boolean equals(Object o)
Compares Distance 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 Rectangle getBox()
Gets or sets annotation position
public final Double getOpacity()
Gets or sets annotation opacity
getOpacity in interface IOpacitypublic final Integer getPenColor()
Gets or sets annotation pen color
getPenColor in interface IPenColorpublic final Byte getPenStyle()
Gets or sets annotation pen style
getPenStyle in interface IPenStylepublic final Byte getPenWidth()
Gets or sets annotation pen width
getPenWidth in interface IPenWidthpublic int hashCode()
Returns HashCode of Distance Annotation
hashCode in class AnnotationBasepublic final void setBox(Rectangle value)
Gets or sets annotation position
public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity in interface IOpacityvalue - public final void setPenColor(Integer value)
Gets or sets annotation pen color
setPenColor in interface IPenColorvalue - public final void setPenStyle(Byte value)
Gets or sets annotation pen style
setPenStyle in interface IPenStylevalue - public final void setPenWidth(Byte value)
Gets or sets annotation pen width
setPenWidth in interface IPenWidthvalue - public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.