public class ReplacementAnnotation extends AnnotationBase implements IReplacementAnnotation
Represents Replacement annotation properties
| Constructor and Description |
|---|
ReplacementAnnotation()
Initializes new instance of
ReplacementAnnotation class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(Object o)
Compares Replacement Annotations using standard object Equals method
|
boolean |
equals(ReplacementAnnotation other)
Compares Replacement Annotations using IEquatable Equals method
|
Integer |
getBackgroundColor()
Gets annotation background color
|
Integer |
getFontColor()
Gets or sets annotation text font color
|
Double |
getFontSize()
Gets or sets annotation text font size
|
Double |
getOpacity()
Gets or sets annotation opacity
|
List<Point> |
getPoints()
Gets or sets collection of points that describe rectangles with text
|
String |
getTextToReplace()
Gets or sets text to be replaced
|
int |
hashCode()
Returns HashCode of Replacement Annotation
|
void |
setBackgroundColor(Integer value)
Sets annotation background color
|
void |
setFontColor(Integer value)
Gets or sets annotation text font color
|
void |
setFontSize(Double value)
Gets or sets annotation text font size
|
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
|
void |
setTextToReplace(String value)
Gets or sets text to be replaced
|
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 ReplacementAnnotation()
Initializes new instance of ReplacementAnnotation class.
public Object deepClone()
Returns new Instance with same values
deepClone in interface com.aspose.ms.System.ICloneabledeepClone in class AnnotationBasepublic boolean equals(Object o)
Compares Replacement 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 boolean equals(ReplacementAnnotation other)
Compares Replacement Annotations using IEquatable Equals method
other - The ReplacementAnnotation object to compare with the current objectpublic final Integer getBackgroundColor()
Gets annotation background color
getBackgroundColor in interface IBackgroundColorpublic final Integer getFontColor()
Gets or sets annotation text font color
getFontColor in interface IFontColorpublic final Double getFontSize()
Gets or sets annotation text font size
getFontSize in interface IFontSizepublic final Double getOpacity()
Gets or sets annotation opacity
getOpacity in interface IOpacitypublic final List<Point> getPoints()
Gets or sets collection of points that describe rectangles with text
public final String getTextToReplace()
Gets or sets text to be replaced
getTextToReplace in interface ITextToReplacepublic int hashCode()
Returns HashCode of Replacement Annotation
hashCode in class AnnotationBasepublic final void setBackgroundColor(Integer value)
Sets annotation background 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 setFontSize(Double value)
Gets or sets annotation text font size
setFontSize in interface IFontSizevalue - public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity in interface IOpacityvalue - public final void setPoints(List<Point> value)
Gets or sets collection of points that describe rectangles with text
public final void setTextToReplace(String value)
Gets or sets text to be replaced
setTextToReplace in interface ITextToReplacevalue - public String toString()
toString in class AnnotationBasepublic String toString(org.apache.commons.lang3.builder.ToStringStyle toStringStyle)
toString in class AnnotationBaseCopyright © 2024. All rights reserved.