PdfAnnotPolygon class

Polygon/polyline annotation.

Inheritance

Constructors

PdfAnnotPolygon(PdfDocument document, List<PdfPoint> points, {required PdfRect rect, PdfBorder? border, Set<PdfAnnotFlags>? flags, DateTime? date, PdfColor? color, PdfColor? interiorColor, String? subject, String? author, bool closed = true})
Creates a polygon/polyline annotation.

Properties

author → String?
The author of the annotation.
finalinherited
border → PdfBorder?
Border for this annotation.
finalinherited
color → PdfColor?
Annotation color.
finalinherited
content → String?
Text content of the annotation.
finalinherited
date → DateTime?
Last modification date.
finalinherited
document → PdfDocument
Document owning this annotation.
final
flags ↔ Set<PdfAnnotFlags>
Flags specifying various characteristics of the annotation.
latefinalinherited
flagValue → int
Encoded annotation flags value.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
interiorColor → PdfColor?
Interior fill color.
final
name → String?
Internal name for a link.
finalinherited
points → List<PdfPoint>
Vertex points.
final
rect → PdfRect
Annotation rectangle.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
subject → String?
The subject of the annotation.
finalinherited
subtype → String
The annotation subtype.
finalinherited

Methods

appearance(PdfDocument pdfDocument, PdfAnnotAppearance type, {String? name, Matrix4? matrix, PdfRect? boundingBox, bool selected = false}) → PdfGraphics
Creates and registers a form XObject for the appearance stream.
inherited
build(PdfPage page, PdfObject<PdfDataType> object, PdfDict<PdfDataType> params) → void
Writes the polygon/polyline dictionary.
override
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