public class WatermarkAnnotation extends AnnotationBase implements IWatermarkAnnotation
Represents Watermark annotation properties
Constructor and Description |
---|
WatermarkAnnotation()
Initializes new instance of
WatermarkAnnotation class. |
Modifier and Type | Method and Description |
---|---|
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
|
Double |
getOpacity()
Gets or sets watermark opacity
|
String |
getText()
Gets or sets watermark text
|
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 |
setOpacity(Double value)
Gets or sets watermark opacity
|
void |
setText(String value)
Gets or sets watermark text
|
String |
toString() |
getCreatedOn, getId, getMessage, getPageNumber, getReplies, getStateBeforeAnnotation, getType, getUser, setCreatedOn, setId, setMessage, setPageNumber, setReplies, setStateBeforeAnnotation, setType, setUser
public WatermarkAnnotation()
Initializes new instance of WatermarkAnnotation
class.
public 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 Double getOpacity()
Gets or sets watermark opacity
getOpacity
in interface IOpacity
public final String getText()
Gets or sets watermark text
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 setOpacity(Double value)
Gets or sets watermark opacity
setOpacity
in interface IOpacity
value
- public final void setText(String value)
Gets or sets watermark text
public String toString()
toString
in class AnnotationBase