com.spire.pdf.annotations
Class PdfAnnotationBorder

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

public class PdfAnnotationBorder
extends java.lang.Object
implements IPdfWrapper

Represents the appearance of an annotation's border.


Constructor Summary
PdfAnnotationBorder()
          Initializes a new instance of the class.
PdfAnnotationBorder(float borderWidth)
          Initializes a new instance of the class.
PdfAnnotationBorder(float borderWidth, float horizontalRadius, float verticalRadius)
          Initializes a new instance of the class.
 
Method Summary
 float getHorizontalRadius()
          Gets a horizontal corner radius.
 float getVerticalRadius()
          Gets a vertical corner radius.
 float getWidth()
          Gets the width of annotation's border.
 void setHorizontalRadius(float value)
          Sets a horizontal corner radius.
 void setVerticalRadius(float value)
          Sets a vertical corner radius.
 void setWidth(float value)
          Sets the width of annotation's border.
 

Constructor Detail

PdfAnnotationBorder

public PdfAnnotationBorder()
Initializes a new instance of the class.


PdfAnnotationBorder

public PdfAnnotationBorder(float borderWidth)
Initializes a new instance of the class.

Parameters:
borderWidth - A float value specifying the width of the annotation's border.

PdfAnnotationBorder

public PdfAnnotationBorder(float borderWidth,
                           float horizontalRadius,
                           float verticalRadius)
Initializes a new instance of the class.

Parameters:
borderWidth - A float value specifying the width of the annotation's border.
horizontalRadius - A float value specifying the horizontal corner radius value.
verticalRadius - A float value specifying the vertical corner radius value.
Method Detail

getHorizontalRadius

public float getHorizontalRadius()
Gets a horizontal corner radius.


setHorizontalRadius

public void setHorizontalRadius(float value)
Sets a horizontal corner radius.


getVerticalRadius

public float getVerticalRadius()
Gets a vertical corner radius.


setVerticalRadius

public void setVerticalRadius(float value)
Sets a vertical corner radius.


getWidth

public float getWidth()
Gets the width of annotation's border.


setWidth

public void setWidth(float value)
Sets the width of annotation's border.