com.spire.pdf.annotations
Class PdfLineAnnotation

java.lang.Object
  extended by com.spire.pdf.annotations.PdfAnnotation
      extended by com.spire.pdf.annotations.PdfLineAnnotation

public class PdfLineAnnotation
extends PdfAnnotation

Represents a line annotation.


Constructor Summary
PdfLineAnnotation(int[] linePoints)
          Initializes new instance of class.
PdfLineAnnotation(int[] linePoints, java.lang.String text)
          Initializes new instance of class.
PdfLineAnnotation(java.awt.geom.Rectangle2D rectangle)
          Initializes new instance of class.
 
Method Summary
 java.lang.String getAuthor()
          Get specifying author.
 PdfRGBColor getBackColor()
          Gets Background Color of the PdfLine
 PdfLineEndingStyle getBeginLineStyle()
          Gets the style used for the beginning of the line.
 PdfLineCaptionType getCaptionType()
          Gets the line caption text type.
 PdfLineEndingStyle getEndLineStyle()
          Gets the style used for the end of the line.
 int getLeaderLine()
          Gets Leader Line
 int getLeaderLineExt()
          Gets Leader Line Extension
 LineBorder getlineBorder()
          Gets Border style of the Line Annotation.
 boolean getLineCaption()
          Gets whether the line annotation caption should be displayed.
 PdfLineIntent getLineIntent()
          Gets LineIntent
 java.lang.String getSubject()
          Get specifying subject
 void setAuthor(java.lang.String value)
          Set specifying author.
 void setBackColor(PdfRGBColor value)
          ets Background Color of the PdfLine
 void setBeginLineStyle(PdfLineEndingStyle value)
          ets the style used for the beginning of the line.
 void setCaptionType(PdfLineCaptionType value)
          ets the line caption text type.
 void setEndLineStyle(PdfLineEndingStyle value)
          ets the style used for the end of the line.
 void setInnerLineColor(PdfRGBColor value)
           
 void setLeaderLine(int value)
          ets Leader Line
 void setLeaderLineExt(int value)
          ets Leader Line Extension
 void setlineBorder(LineBorder value)
          ets Border style of the Line Annotation.
 void setLineCaption(boolean value)
          Sets whether the line annotation caption should be displayed.
 void setLineIntent(PdfLineIntent value)
          ets LineIntent
 void setSubject(java.lang.String value)
          Set specifying subject
 
Methods inherited from class com.spire.pdf.annotations.PdfAnnotation
getBorder, getColor, getFlags, getLocation, getModifiedDate, getName, getPage, getRectangle, getText, setBorder, setColor, setFlags, setModifiedDate, setName, setRectangle, setText
 

Constructor Detail

PdfLineAnnotation

public PdfLineAnnotation(int[] linePoints)
Initializes new instance of class.

Parameters:
linePoints - The line points.

PdfLineAnnotation

public PdfLineAnnotation(int[] linePoints,
                         java.lang.String text)
Initializes new instance of class.

Parameters:
linePoints - The line points.
text - The line caption text.

PdfLineAnnotation

public PdfLineAnnotation(java.awt.geom.Rectangle2D rectangle)
Initializes new instance of class.

Parameters:
rectangle - Bounds of the annotation.
Method Detail

getLineCaption

public boolean getLineCaption()
Gets whether the line annotation caption should be displayed.


setLineCaption

public void setLineCaption(boolean value)
Sets whether the line annotation caption should be displayed.


getLeaderLine

public int getLeaderLine()
Gets Leader Line


setLeaderLine

public void setLeaderLine(int value)
ets Leader Line


getLeaderLineExt

public int getLeaderLineExt()
Gets Leader Line Extension


setLeaderLineExt

public void setLeaderLineExt(int value)
ets Leader Line Extension


getlineBorder

public LineBorder getlineBorder()
Gets Border style of the Line Annotation.


setlineBorder

public void setlineBorder(LineBorder value)
ets Border style of the Line Annotation.


getBeginLineStyle

public PdfLineEndingStyle getBeginLineStyle()
Gets the style used for the beginning of the line.


setBeginLineStyle

public void setBeginLineStyle(PdfLineEndingStyle value)
ets the style used for the beginning of the line.


getEndLineStyle

public PdfLineEndingStyle getEndLineStyle()
Gets the style used for the end of the line.


setEndLineStyle

public void setEndLineStyle(PdfLineEndingStyle value)
ets the style used for the end of the line.


getCaptionType

public PdfLineCaptionType getCaptionType()
Gets the line caption text type.


setCaptionType

public void setCaptionType(PdfLineCaptionType value)
ets the line caption text type.


getLineIntent

public PdfLineIntent getLineIntent()
Gets LineIntent


setLineIntent

public void setLineIntent(PdfLineIntent value)
ets LineIntent


setInnerLineColor

public void setInnerLineColor(PdfRGBColor value)

getBackColor

public PdfRGBColor getBackColor()
Gets Background Color of the PdfLine


setBackColor

public void setBackColor(PdfRGBColor value)
ets Background Color of the PdfLine


getAuthor

public java.lang.String getAuthor()
Get specifying author.

Overrides:
getAuthor in class PdfAnnotation
Returns:
author

setAuthor

public void setAuthor(java.lang.String value)
Set specifying author.

Overrides:
setAuthor in class PdfAnnotation
Parameters:
value - author

getSubject

public java.lang.String getSubject()
Get specifying subject

Overrides:
getSubject in class PdfAnnotation
Returns:
subject

setSubject

public void setSubject(java.lang.String value)
Set specifying subject

Overrides:
setSubject in class PdfAnnotation
Parameters:
value - subject