Class Index

Classes


Class PDFNet.PolygonAnnot

PDFNet.PolygonAnnot

Class Summary
Constructor Attributes Constructor Name and Description
 
A polygon annotation
Method Summary
Method Attributes Method Name and Description
<static>  
PDFNet.PolygonAnnot.create(doc, pos)
Creates a new Polygon annotation in the specified document.
<static>  
PDFNet.PolygonAnnot.createFromAnnot(ann)
creates a Polygon annotation and initializes it using given annotation object.
<static>  
PDFNet.PolygonAnnot.createFromObj(d)
creates a Polygon annotation and initializes it using given Cos/SDF object.
Class Detail
PDFNet.PolygonAnnot(id)
A polygon annotation
Parameters:
id
Method Detail
<static> {PolygonAnnot} PDFNet.PolygonAnnot.create(doc, pos)
Creates a new Polygon annotation in the specified document.
Parameters:
{SDFDoc} doc
A document to which the Polygon annotation is added.
{rect} pos
A rectangle specifying the Polygon annotation's bounds in default user space units.
Returns:
{PolygonAnnot} A promise that resolves to a newly created blank Polygon annotation.

<static> {PolygonAnnot} PDFNet.PolygonAnnot.createFromAnnot(ann)
creates a Polygon annotation and initializes it using given annotation object.
Parameters:
{Annot} ann
Annot object used to initialize the Polygon annotation.
Returns:
{PolygonAnnot} A promise that resolves to an object of type: "PolygonAnnot" (generated documentation)

<static> {PolygonAnnot} PDFNet.PolygonAnnot.createFromObj(d)
creates a Polygon annotation and initializes it using given Cos/SDF object.
Parameters:
{Obj} d
The Cos/SDF object to initialze the annotation with.
Returns:
{PolygonAnnot} A promise that resolves to an object of type: "PolygonAnnot" (generated documentation)

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 09 2016 14:32:41 GMT-0700 (PDT)