| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.PageElement
com.cete.dynamicpdf.pageelements.TaggablePageElement
com.cete.dynamicpdf.pageelements.Watermark
public abstract class Watermark
Base class from which TextWatermark and ImageWatermark are derived.
| Constructor Summary | |
|---|---|
| Watermark() | |
| Method Summary | |
|---|---|
|  void | draw(PageWriter writer)Draws the link to the given PageWriterobject. | 
|  void | drawAnnotation(DocumentWriter writer)Draws the watermark to the given DocumentWriterobject. | 
|  java.lang.String | getAlternateName()Gets the Alternate name of the watermark. | 
|  float | getAngle()Gets the Angle of the watermark. | 
|  java.lang.String | getName()Gets the name of the watermark. | 
|  float | getOpacity()Gets the Opacity of the watermark. | 
|  WatermarkPosition | getPosition()Gets the Position of the watermark. | 
|  float | getXOffset()Gets the Horizontal Distance of the watermark. | 
|  float | getYOffset()Gets the Vertical Distance of the watermark. | 
|  void | setAlternateName(java.lang.String value)Sets the Alternate name of the watermark. | 
|  void | setAngle(float value)Sets the Angle of the watermark. | 
|  void | setName(java.lang.String value)Sets the name of the watermark. | 
|  void | setOpacity(float value)Sets the Opacity of the watermark. | 
|  void | setPosition(WatermarkPosition value)Sets the Position of the watermark. | 
|  void | setXOffset(float value)Sets the Horizontal Distance of the watermark. | 
|  void | setYOffset(float value)Sets the Vertical Distance of the watermark. | 
| Methods inherited from class com.cete.dynamicpdf.pageelements.TaggablePageElement | 
|---|
| getTag, getTagOrder, setTag, setTagOrder | 
| Methods inherited from class com.cete.dynamicpdf.PageElement | 
|---|
| getRequiredLicenseLevel, getStrID, setRequiredLicenseLevel, setStrID | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Watermark()
| Method Detail | 
|---|
public java.lang.String getName()
public void setName(java.lang.String value)
value - the name of the watermark.public java.lang.String getAlternateName()
public void setAlternateName(java.lang.String value)
value - the Alternate name of the watermark.public float getXOffset()
public void setXOffset(float value)
value - the Horizontal Distance of the watermark.public float getYOffset()
public void setYOffset(float value)
value - the Vertical Distance of the watermark.public WatermarkPosition getPosition()
public void setPosition(WatermarkPosition value)
value - the Position of the watermark.public float getAngle()
public void setAngle(float value)
value - the Angle of the watermark.public float getOpacity()
public void setOpacity(float value)
value - the Opacity of the watermark.public void draw(PageWriter writer)
PageWriter object.
draw in class TaggablePageElementwriter - PageWriter object to receive the watermark's output.PageWriterpublic void drawAnnotation(DocumentWriter writer)
DocumentWriter object.
drawAnnotation in interface IAnnotationwriter - DocumentWriter object to receive the watermark's output.DocumentWriter| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||