NoteAnnotation class
Represents a note annotation in PSPDFKit
- Inheritance
-
- Object
- Annotation
- NoteAnnotation
- Available extensions
Constructors
-
NoteAnnotation.new({String? id, required TextContent text, Color? color, required List<
double> bbox, required String? createdAt, required int pageIndex, NoteIcon? icon = NoteIcon.note, String? creatorName, double opacity = 1.0, int? pdfObjectId, List<AnnotationFlag> ? flags, String? updatedAt, String? name, String? subject, Map<String, dynamic> ? customData}) -
NoteAnnotation.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
bbox
→ List<
double> -
finalinherited
- color → Color?
-
final
- createdAt → String?
-
finalinherited
- creatorName → String?
-
finalinherited
-
customData
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
-
flags
↔ List<
AnnotationFlag> ? -
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
finalinherited
- icon → NoteIcon?
-
final
- id → String?
-
finalinherited
- name → String?
-
finalinherited
- opacity ↔ double
-
getter/setter pairinherited
- pageIndex ↔ int
-
getter/setter pairinherited
- pdfObjectId → int?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String?
-
finalinherited
- text → TextContent
-
final
- type → AnnotationType
-
finalinherited
- updatedAt ↔ String?
-
getter/setter pairinherited
- v → int
-
finalinherited
Methods
-
copyWith(
{String? id, List< double> ? bbox, String? createdAt, int? pageIndex, Color? color, TextContent? text, NoteIcon? icon, String? creatorName, double? opacity, int? pdfObjectId, List<AnnotationFlag> ? flags, String? updatedAt, String? name, String? subject, }) → NoteAnnotation -
Available on NoteAnnotation, provided by the NoteAnnotationExtensions extension
Creates a copy of this annotation with the given fields replaced with the new values -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited