PdfLineAnnotation class

Represents a line annotation.

Inheritance

Constructors

PdfLineAnnotation(List<int> linePoints, String text, {PdfColor? color, PdfColor? innerColor, PdfAnnotationBorder? border, String? author, String? subject, DateTime? modifiedDate, double? opacity, bool? setAppearance, PdfLineEndingStyle beginLineStyle = PdfLineEndingStyle.none, PdfLineEndingStyle endLineStyle = PdfLineEndingStyle.none, PdfLineCaptionType captionType = PdfLineCaptionType.inline, PdfLineIntent lineIntent = PdfLineIntent.lineArrow, int? leaderLine, int? leaderLineExt, bool lineCaption = false, List<PdfAnnotationFlags>? flags})
Initializes new instance of PdfLineAnnotation class.

Properties

annotationFlags List<PdfAnnotationFlags>
Gets or sets the annotation flags.
getter/setter pairinherited
appearance PdfAppearance
Gets appearance of the annotation.
getter/setter pairinherited
author String
Gets the author of the annotation.
getter/setter pairinherited
beginLineStyle PdfLineEndingStyle
Gets the begin line style of the annotation.
getter/setter pair
border PdfAnnotationBorder
Gets annotation's border properties like width, horizontal radius etc.
getter/setter pair
bounds Rect
Gets annotation's bounds in the PDF page.
getter/setter pairinherited
captionType PdfLineCaptionType
Gets the caption type of the annotation.
getter/setter pair
color PdfColor
Gets the annotation color.
getter/setter pair
endLineStyle PdfLineEndingStyle
Gets the end line style of the annotation.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
innerColor PdfColor
Gets the inner color of the annotation.
getter/setter pair
leaderLine int
Gets the leader line.
getter/setter pair
leaderLineExt int
Gets the leader line extension.
getter/setter pair
lineCaption bool
Gets the line caption of the annotation.
getter/setter pair
lineIntent PdfLineIntent
Gets the line intent of the annotation.
getter/setter pair
linePoints List<int>
Gets the line points of the annotation.
getter/setter pair
modifiedDate DateTime?
Gets the ModifiedDate of the annotation.
getter/setter pairinherited
opacity double
Gets the opacity of the annotation.
getter/setter pairinherited
page PdfPage?
Gets a page of the annotation. Read-Only.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setAppearance bool
Set whether the annotation requires an appearance.
getter/setter pairinherited
subject String
Gets the subject of the annotation.
getter/setter pairinherited
text String
Gets or sets the content of the annotation.
getter/setter pairoverride

Methods

flatten() → void
Flatten the annotation.
inherited
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