From 9387c2e705f140aa4c26bc25a259868fb7a473e9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 25 Oct 2016 14:49:12 +0200 Subject: js: Update docs for annotation functions (WIP). --- docs/mutool/run.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'docs') 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
Create a PDF object from the Image object. +

+PDF Annotations (WORK IN PROGRESS!) +

+ +
+
PDFPage#createAnnotation(type) +
Create a new blank annotation of a given type. +The type must be one of the annotation subtypes listed in the PDF reference. +
PDFPage#deleteAnnotation(annot) +
Delete the annotation from the page. +
+ +
+
PDFAnnotation#getType() +
Return the annotation subtype. +
PDFAnnotation#getFlags(), #setFlags(flags) +
Get/set the annotation flags. +
PDFAnnotation#getContents(), #setContents(text) +
PDFAnnotation#getRect(), #setRect(rect) +
PDFAnnotation#getBorder(), #setBorder(width) +
PDFAnnotation#getColor(), #setColor(color) +
PDFAnnotation#getQuadPoints(), #setQuadPoints(quadPoints) +
PDFAnnotation#getInkList(), #setInkList(inkList) +
PDFAnnotation#updateAppearance() +
Update the appearance stream to account for changes in the annotation. +
+

TODO

-- cgit v1.2.3