public class WatermarkAnnotation extends AnnotationBase implements IWatermarkAnnotation
Represents Watermark annotation properties
Counter
Constructor and Description |
---|
WatermarkAnnotation()
Initializes new instance of
WatermarkAnnotation class. |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Returns new Instance with same values
|
boolean |
equals(Object o)
Compares Watermark Annotations using standard object Equals method
|
boolean |
equals(WatermarkAnnotation other)
Compares Watermark Annotations using IEquatable Equals method
|
Double |
getAngle()
Gets or sets watermark rotation angle
|
Rectangle |
getBox()
Gets or sets annotation position
|
Integer |
getFontColor()
Gets or sets watermark text font color
|
String |
getFontFamily()
Gets or sets watermark text font family
|
Double |
getFontSize()
Gets or sets watermark text font size
|
Integer |
getHorizontalAlignment()
Gets or sets watermark horizontal alignment on document
|
Double |
getOpacity()
Gets or sets annotation opacity
|
String |
getText()
Gets or sets watermark text
|
Integer |
getVerticalAlignment()
Gets or sets watermark vertical alignment on document
|
int |
hashCode()
Returns HashCode of Watermark Annotation
|
void |
setAngle(Double value)
Gets or sets watermark rotation angle
|
void |
setBox(Rectangle value)
Gets or sets annotation position
|
void |
setFontColor(Integer value)
Gets or sets watermark text font color
|
void |
setFontFamily(String value)
Gets or sets watermark text font family
|
void |
setFontSize(Double value)
Gets or sets watermark text font size
|
void |
setHorizontalAlignment(Integer value)
Gets or sets watermark horizontal alignment on document
|
void |
setOpacity(Double value)
Gets or sets annotation opacity
|
void |
setText(String value)
Gets or sets watermark text
|
void |
setVerticalAlignment(Integer value)
Gets or sets watermark vertical alignment on document
|
String |
toString() |
equals, getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, memberwiseClone, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUser
public WatermarkAnnotation()
Initializes new instance of WatermarkAnnotation
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 Watermark 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(WatermarkAnnotation other)
Compares Watermark Annotations using IEquatable Equals method
other
- The WatermarkAnnotation object to compare with the current objectpublic final Double getAngle()
Gets or sets watermark rotation angle
public final Rectangle getBox()
Gets or sets annotation position
public final Integer getFontColor()
Gets or sets watermark text font color
getFontColor
in interface IFontColor
public final String getFontFamily()
Gets or sets watermark text font family
getFontFamily
in interface IFontFamily
public final Double getFontSize()
Gets or sets watermark text font size
getFontSize
in interface IFontSize
public final Integer getHorizontalAlignment()
Gets or sets watermark horizontal alignment on document
getHorizontalAlignment
in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignment
public final Double getOpacity()
Gets or sets annotation opacity
getOpacity
in interface IOpacity
public final String getText()
Gets or sets watermark text
public final Integer getVerticalAlignment()
Gets or sets watermark vertical alignment on document
getVerticalAlignment
in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignment
public int hashCode()
Returns HashCode of Watermark Annotation
hashCode
in class AnnotationBase
public final void setAngle(Double value)
Gets or sets watermark rotation angle
public final void setBox(Rectangle value)
Gets or sets annotation position
public final void setFontColor(Integer value)
Gets or sets watermark text font color
setFontColor
in interface IFontColor
value
- public final void setFontFamily(String value)
Gets or sets watermark text font family
setFontFamily
in interface IFontFamily
value
- public final void setFontSize(Double value)
Gets or sets watermark text font size
setFontSize
in interface IFontSize
value
- public final void setHorizontalAlignment(Integer value)
Gets or sets watermark horizontal alignment on document
setHorizontalAlignment
in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignment
value
- public final void setOpacity(Double value)
Gets or sets annotation opacity
setOpacity
in interface IOpacity
value
- public final void setText(String value)
Gets or sets watermark text
public final void setVerticalAlignment(Integer value)
Gets or sets watermark vertical alignment on document
setVerticalAlignment
in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignment
value
- public String toString()
toString
in class AnnotationBase