PdfLineAnnotation class final

A line annotation (FPDF_ANNOT_LINE).

The line runs from lineStart to lineEnd in PDF page coordinates.

Inheritance

Constructors

PdfLineAnnotation({required int pageIndex, required PdfPoint lineStart, required PdfPoint lineEnd, String? contents, String? author, PdfRect? rect, PdfColor? color, PdfDate? modifiedDate, required int flags, PdfPopupAnnotation? popup})
Creates a PdfLineAnnotation.
const

Properties

author → String?
The annotation author (/T dictionary entry), or null if absent.
finalinherited
color → PdfColor?
The annotation colour, or null if no colour entry is present.
finalinherited
contents → String?
The annotation's Contents string, or null if absent.
finalinherited
flags → int
Raw FPDF_ANNOT_FLAG_* bitmask.
finalinherited
hashCode → int
The hash code for this object.
no setteroverride
lineEnd → PdfPoint
The ending point of the line in PDF page coordinates.
final
lineStart → PdfPoint
The starting point of the line in PDF page coordinates.
final
modifiedDate → PdfDate?
The last-modified date (/M dictionary entry), or null if absent.
finalinherited
pageIndex → int
Zero-based index of the page this annotation belongs to.
finalinherited
Inlined popup annotation data, or null if this annotation has no popup.
finalinherited
rect → PdfRect?
The bounding rectangle in PDF page coordinates, or null if unavailable.
finalinherited
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override