|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.elegantj.pdf.PDFObject
com.elegantj.pdf.PDFGraphicsObject
com.elegantj.pdf.PDFAnnotation
com.elegantj.pdf.PDFRubberStampAnnotation
This class represents PDFRubberStampAnnotation object Annotations are notes or other objects that are associated with a page but are separate from the page description itself.
Field Summary |
Fields inherited from class com.elegantj.pdf.PDFAnnotation |
llX, llY, urX, urY |
Fields inherited from class com.elegantj.pdf.PDFGraphicsObject |
BEVEL_JOINS, BUTT_CAPS, MITER_JOINS, ROUND_CAPS, ROUND_JOINS, SQUARE_CAPS |
Constructor Summary | |
PDFRubberStampAnnotation(java.lang.String text,
int x,
int y,
int width,
int height,
PDFFont pdfFont)
Constructs a PDF RubberStamp Annotation object |
Method Summary | |
java.lang.Object |
clone()
Returns the clone of this object |
java.awt.Color |
getBackground()
Returns the background color of the PDFRubberStampAnnotation |
java.awt.Color |
getBorderColor()
Returns the border color of the PDFRubberStampAnnotation |
java.awt.Color |
getForeground()
Returns the foreground color of the PDFRubberStampAnnotation |
void |
setBackground(java.awt.Color background)
Sets the background color for the PDFRubberStampAnnotation |
void |
setBorderColor(java.awt.Color borderColor)
Sets the border color for the PDFRubberStampAnnotation |
void |
setForeground(java.awt.Color foreground)
Sets the foreground color for the PDFRubberStampAnnotation |
Methods inherited from class com.elegantj.pdf.PDFObject |
getPDFObjectID, getPDFObjectRefStr, getPDFObjectType, setPDFObjectID, setPDFObjectType |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PDFRubberStampAnnotation(java.lang.String text, int x, int y, int width, int height, PDFFont pdfFont)
text
- the text for the RubberStamp Annotationx
- the x coordinate of annotationy
- the y coordinate of annotationwidth
- the width of the annotationheight
- the height of the annotationpdfFont
- the Specified PDFFont for this RubberStamp Annotation
if the pdfFont value is null then default Helvetica Type1 Font consideredMethod Detail |
public void setBorderColor(java.awt.Color borderColor)
borderColor
- Thepublic java.awt.Color getBorderColor()
public void setBackground(java.awt.Color background)
background
- The background color for the PDFRubberStampAnnotationpublic java.awt.Color getBackground()
public void setForeground(java.awt.Color foreground)
foreground
- The foreground color for the PDFRubberStampAnnotationpublic java.awt.Color getForeground()
public java.lang.Object clone()
clone
in class PDFAnnotation
|
ElegantJ PDF Library Java API Specification v1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |