public class ReplacementAnnotation extends AnnotationBase implements IReplacementAnnotation
Represents Replacement annotation properties
Counter
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 |
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
|
String |
getTextToReplace()
Gets or sets text to be replaced
|
int |
hashCode()
Returns HashCode of Replacement Annotation
|
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
|
void |
setTextToReplace(String value)
Gets or sets text to be replaced
|
String |
toString() |
equals, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUser
public ReplacementAnnotation()
Initializes new instance of ReplacementAnnotation
class.
public Object deepClone()
Returns new Instance with same values
deepClone
in interface com.aspose.ms.System.ICloneable
deepClone
in class AnnotationBase
public boolean equals(Object o)
Compares Replacement 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 boolean equals(ReplacementAnnotation other)
Compares Replacement Annotations using IEquatable Equals method
other
- The ReplacementAnnotation object to compare with the current objectpublic 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 final String getTextToReplace()
Gets or sets text to be replaced
getTextToReplace
in interface ITextToReplace
public int hashCode()
Returns HashCode of Replacement Annotation
hashCode
in class AnnotationBase
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 final void setTextToReplace(String value)
Gets or sets text to be replaced
setTextToReplace
in interface ITextToReplace
value
- public String toString()
toString
in class AnnotationBase