com.spire.pdf.annotations
Class PdfPolygonAnnotation

java.lang.Object
  extended by com.spire.pdf.annotations.PdfAnnotation
      extended by com.spire.pdf.annotations.PdfPolygonAnnotation
All Implemented Interfaces:
IPdfWrapper

public class PdfPolygonAnnotation
extends PdfAnnotation

Represents the polygon annotation.


Constructor Summary
PdfPolygonAnnotation(PdfPageBase page, java.awt.geom.Point2D[] points)
          Initialize a new instance of PdfPolygonAnnotation.
 
Method Summary
 java.lang.String getAuthor()
          Get user who created the annotation.
 PdfBorderEffect getBorderEffect()
          Gets border effect.
 java.util.Date getModifiedDate()
          Gets date and time when the annotation was most recently modified.
 java.lang.String getSubject()
          Get description of the annotation.
 void setAuthor(java.lang.String value)
          Set user who created the annotation.
 void setBorderEffect(PdfBorderEffect value)
          Sets border effect.
 void setModifiedDate(java.util.Date value)
          Sets date and time when the annotation was most recently modified.
 void setSubject(java.lang.String value)
          Set description of the annotation.
 
Methods inherited from class com.spire.pdf.annotations.PdfAnnotation
getBorder, getColor, getDictionary, getFlags, getLocation, getName, getPage, getRectangle, getText, setBorder, setColor, setDictionary, setFlags, setName, setRectangle, setText
 

Constructor Detail

PdfPolygonAnnotation

public PdfPolygonAnnotation(PdfPageBase page,
                            java.awt.geom.Point2D[] points)
Initialize a new instance of PdfPolygonAnnotation.

Parameters:
page - The page
points - The polygon vertices
Method Detail

getAuthor

public java.lang.String getAuthor()
Get user who created the annotation.


setAuthor

public void setAuthor(java.lang.String value)
Set user who created the annotation.


getSubject

public java.lang.String getSubject()
Get description of the annotation.


setSubject

public void setSubject(java.lang.String value)
Set description of the annotation.


getModifiedDate

public java.util.Date getModifiedDate()
Gets date and time when the annotation was most recently modified.

Overrides:
getModifiedDate in class PdfAnnotation

setModifiedDate

public void setModifiedDate(java.util.Date value)
Sets date and time when the annotation was most recently modified.

Overrides:
setModifiedDate in class PdfAnnotation

getBorderEffect

public PdfBorderEffect getBorderEffect()
Gets border effect.


setBorderEffect

public void setBorderEffect(PdfBorderEffect value)
Sets border effect.