PdfAnnotationType enum

The subtype of a PDF annotation, corresponding to the fpdf_annot.h FPDF_ANNOT_* constants.

Only subtypes that are in scope for v0.02 are listed; form-field types (FPDF_ANNOT_WIDGET, FPDF_ANNOT_XFAWIDGET) are out of scope and are mapped to unknown. See docs/spec/annotation_extraction.md for details.

Inheritance
Available extensions

Values

text → const PdfAnnotationType

Sticky note annotation (FPDF_ANNOT_TEXT = 1).

Hyperlink annotation (FPDF_ANNOT_LINK = 2).

freeText → const PdfAnnotationType

Free-text (typewriter) annotation (FPDF_ANNOT_FREETEXT = 3).

line → const PdfAnnotationType

Line annotation (FPDF_ANNOT_LINE = 4).

square → const PdfAnnotationType

Rectangle annotation (FPDF_ANNOT_SQUARE = 5).

circle → const PdfAnnotationType

Ellipse annotation (FPDF_ANNOT_CIRCLE = 6).

polygon → const PdfAnnotationType

Polygon annotation (FPDF_ANNOT_POLYGON = 7).

polyline → const PdfAnnotationType

Polyline annotation (FPDF_ANNOT_POLYLINE = 8).

highlight → const PdfAnnotationType

Highlight annotation (FPDF_ANNOT_HIGHLIGHT = 9).

underline → const PdfAnnotationType

Underline annotation (FPDF_ANNOT_UNDERLINE = 10).

squiggly → const PdfAnnotationType

Squiggly underline annotation (FPDF_ANNOT_SQUIGGLY = 11).

strikeout → const PdfAnnotationType

Strikeout annotation (FPDF_ANNOT_STRIKEOUT = 12).

stamp → const PdfAnnotationType

Rubber stamp annotation (FPDF_ANNOT_STAMP = 13).

ink → const PdfAnnotationType

Free-draw ink annotation (FPDF_ANNOT_INK = 15).

Popup annotation (FPDF_ANNOT_POPUP = 16). Inlined on parent, not emitted as a top-level annotation.

unknown → const PdfAnnotationType

Any annotation subtype not recognised by this library version.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PdfAnnotationType>
A constant List of the values in this enum, in order of their declaration.