diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-10-25 14:49:12 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-11-14 18:13:08 +0100 |
commit | 9387c2e705f140aa4c26bc25a259868fb7a473e9 (patch) | |
tree | c2e1b16e07e58fe5416b8ad3033000a959895ded | |
parent | e906a182a8a03505da342c127c712919625a0739 (diff) | |
download | mupdf-9387c2e705f140aa4c26bc25a259868fb7a473e9.tar.xz |
js: Update docs for annotation functions (WIP).
-rw-r--r-- | docs/mutool/run.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/mutool/run.html b/docs/mutool/run.html index bb726e2c..328e0988 100644 --- a/docs/mutool/run.html +++ b/docs/mutool/run.html @@ -781,6 +781,33 @@ Pages consist of a content stream, and a resource dictionary containing all of t <dd>Create a PDF object from the Image object. </dl> +<h3> +PDF Annotations (WORK IN PROGRESS!) +</h3> + +<dl> +<dt>PDFPage#createAnnotation(type) +<dd>Create a new blank annotation of a given type. +The type must be one of the annotation subtypes listed in the PDF reference. +<dt>PDFPage#deleteAnnotation(annot) +<dd>Delete the annotation from the page. +</dl> + +<dl> +<dt>PDFAnnotation#getType() +<dd>Return the annotation subtype. +<dt>PDFAnnotation#getFlags(), #setFlags(flags) +<dd>Get/set the annotation flags. +<dt>PDFAnnotation#getContents(), #setContents(text) +<dt>PDFAnnotation#getRect(), #setRect(rect) +<dt>PDFAnnotation#getBorder(), #setBorder(width) +<dt>PDFAnnotation#getColor(), #setColor(color) +<dt>PDFAnnotation#getQuadPoints(), #setQuadPoints(quadPoints) +<dt>PDFAnnotation#getInkList(), #setInkList(inkList) +<dt>PDFAnnotation#updateAppearance() +<dd>Update the appearance stream to account for changes in the annotation. +</dl> + <h2> TODO </h2> |