com.spire.pdf.annotations
Class PdfInkAnnotation

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

public class PdfInkAnnotation
extends PdfAnnotation


Constructor Summary
PdfInkAnnotation(java.util.List<int[]> inkList)
          Deprecated. 
PdfInkAnnotation(java.util.List<int[]> inkList, java.lang.String text)
          Deprecated. 
PdfInkAnnotation(java.awt.geom.Rectangle2D rect, java.util.List<int[]> inkList)
          Initialize a new instance.
 
Method Summary
 java.util.List<int[]> getInkList()
          Get A list of int array specifying the ink line path
 float getOpacity()
          Get the annotation opacity.
 void setInkList(java.util.List<int[]> value)
          Set A list of int array specifying the ink line path
 void setOpacity(float value)
          Set the annotation opacity.
 
Methods inherited from class com.spire.pdf.annotations.PdfAnnotation
getAuthor, getBorder, getColor, getFlags, getLocation, getModifiedDate, getName, getPage, getRectangle, getSubject, getText, setAuthor, setBorder, setColor, setFlags, setModifiedDate, setName, setRectangle, setSubject, setText
 

Constructor Detail

PdfInkAnnotation

@Deprecated
public PdfInkAnnotation(java.util.List<int[]> inkList)
Deprecated. 

Initialize a new instance. The annotation points position, defining the location of the annotation on the page in default user space units.

Parameters:
inkList - annotation points position

PdfInkAnnotation

public PdfInkAnnotation(java.awt.geom.Rectangle2D rect,
                        java.util.List<int[]> inkList)
Initialize a new instance. The annotation points position, defining the location of the annotation on the page in default user space units.

Parameters:
inkList - annotation points position

PdfInkAnnotation

@Deprecated
public PdfInkAnnotation(java.util.List<int[]> inkList,
                                   java.lang.String text)
Deprecated. 

Initialize a new instance. The annotation points position, defining the location of the annotation on the page in default user space units.

Parameters:
inkList - annotation points position
text - annotation contents
Method Detail

getInkList

public java.util.List<int[]> getInkList()
Get A list of int array specifying the ink line path

Returns:

setInkList

public void setInkList(java.util.List<int[]> value)
Set A list of int array specifying the ink line path


getOpacity

public float getOpacity()
Get the annotation opacity. The opacity is given in decimal, 1 is full opacity, 0 is no opacity.

Returns:

setOpacity

public void setOpacity(float value)
Set the annotation opacity.

Parameters:
value -