ElegantJ PDF Library Java API Specification v1.1

com.elegantj.pdf
Class PDFRubberStampAnnotation

java.lang.Object
  extended bycom.elegantj.pdf.PDFObject
      extended bycom.elegantj.pdf.PDFGraphicsObject
          extended bycom.elegantj.pdf.PDFAnnotation
              extended bycom.elegantj.pdf.PDFRubberStampAnnotation

public class PDFRubberStampAnnotation
extends PDFAnnotation

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

PDFRubberStampAnnotation

public PDFRubberStampAnnotation(java.lang.String text,
                                int x,
                                int y,
                                int width,
                                int height,
                                PDFFont pdfFont)
Constructs a PDF RubberStamp Annotation object

Parameters:
text - the text for the RubberStamp Annotation
x - the x coordinate of annotation
y - the y coordinate of annotation
width - the width of the annotation
height - the height of the annotation
pdfFont - the Specified PDFFont for this RubberStamp Annotation if the pdfFont value is null then default Helvetica Type1 Font considered
Method Detail

setBorderColor

public void setBorderColor(java.awt.Color borderColor)
Sets the border color for the PDFRubberStampAnnotation

Parameters:
borderColor - The

getBorderColor

public java.awt.Color getBorderColor()
Returns the border color of the PDFRubberStampAnnotation

Returns:
The border color of the PDFRubberStampAnnotation

setBackground

public void setBackground(java.awt.Color background)
Sets the background color for the PDFRubberStampAnnotation

Parameters:
background - The background color for the PDFRubberStampAnnotation

getBackground

public java.awt.Color getBackground()
Returns the background color of the PDFRubberStampAnnotation

Returns:
The background color of the PDFRubberStampAnnotation

setForeground

public void setForeground(java.awt.Color foreground)
Sets the foreground color for the PDFRubberStampAnnotation

Parameters:
foreground - The foreground color for the PDFRubberStampAnnotation

getForeground

public java.awt.Color getForeground()
Returns the foreground color of the PDFRubberStampAnnotation

Returns:
The foreground color of the PDFRubberStampAnnotation

clone

public java.lang.Object clone()
Returns the clone of this object

Specified by:
clone in class PDFAnnotation
Returns:
The clone of this object

ElegantJ PDF Library Java API Specification v1.1

For any feedback, suggestion, or query, please revert back to support@elegantjpdf.com

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjpdf.com
All Rights Reserved.