public class ImageAnnotation extends AnnotationBase implements IImageAnnotation
Represents image annotation properties
<b>Learn more</b>
| Constructor and Description |
|---|
ImageAnnotation()
Initializes new instance of
ImageAnnotation class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(ImageAnnotation other)
Compares Image Annotations using IEquatable Equals method
|
boolean |
equals(Object o)
Compares Image Annotations using standard object Equals method
|
Double |
getAngle()
Gets or sets annotation rotation angle
|
Rectangle |
getBox()
Gets or sets annotation position
|
com.aspose.ms.System.Drawing.Image |
getImage()
Gets image object
|
String |
getImageData()
Gets or sets image data
|
String |
getImageExtension()
Gets or sets image data
|
String |
getImagePath()
Gets or sets image path
|
Double |
getOpacity()
Gets or sets annotation opacity
|
Integer |
getZIndex()
Gets or sets z-index.
|
int |
hashCode()
Returns HashCode of Image Annotation
|
void |
setAngle(Double value)
Gets or sets annotation rotation angle
|
void |
setBox(Rectangle value)
Gets or sets annotation position
|
void |
setImageData(String value)
Gets or sets image data
|
void |
setImageExtension(String value) |
void |
setImagePath(String value)
Gets or sets image path
|
void |
setOpacity(Double value)
Gets or sets annotation opacity
|
void |
setZIndex(Integer value)
Gets or sets annotation pen color
|
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 ImageAnnotation()
Initializes new instance of ImageAnnotation class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic final boolean equals(ImageAnnotation other)
Compares Image Annotations using IEquatable Equals method
other - The ImageAnnotation object to compare with the current
objectpublic boolean equals(Object o)
Compares Image 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 Double getAngle()
Gets or sets annotation rotation angle
public final Rectangle getBox()
Gets or sets annotation position
public final com.aspose.ms.System.Drawing.Image getImage()
Gets image object
public final String getImageData()
Gets or sets image data
public final String getImageExtension()
Gets or sets image data
public final String getImagePath()
Gets or sets image path
public final Double getOpacity()
Gets or sets annotation opacity
getOpacity in interface IOpacitypublic final Integer getZIndex()
Gets or sets z-index. Default value is 0
The <b>z-index</b> property specifies the stack order of an
element.
public int hashCode()
Returns HashCode of Image Annotation
hashCode in class AnnotationBasepublic final void setAngle(Double value)
Gets or sets annotation rotation angle
public final void setBox(Rectangle value)
Gets or sets annotation position
public final void setImageData(String value)
Gets or sets image data
value - public final void setImageExtension(String value)
public final void setImagePath(String value)
Gets or sets image path
value - public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity in interface IOpacityvalue - public final void setZIndex(Integer value)
Gets or sets annotation pen color
value - public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.