Annotation class abstract
Base class for all Nutrient annotations
- Implementers
- CaretAnnotation
- FileAnnotation
- FreeTextAnnotation
- ImageAnnotation
- InkAnnotation
- LinkAnnotation
- NoteAnnotation
- PopupAnnotation
- RedactionAnnotation
- RichMediaAnnotation
- ScreenAnnotation
- ShapeAnnotation
- SoundAnnotation
- StampAnnotation
- TextMarkupAnnotation
- Type3DAnnotation
- WatermarkAnnotation
- WidgetAnnotation
- Available extensions
Constructors
-
Annotation.new({String? id, required AnnotationType type, required List<
double> bbox, required int pageIndex, String? creatorName, String? createdAt, double opacity = 1.0, int? pdfObjectId, List<AnnotationFlag> ? flags, String? updatedAt, String? name, String? subject, int v = 2, Map<String, dynamic> ? customData}) -
Annotation.fromJson(Map<
String, dynamic> json, [Map<String, dynamic> ? attachments]) -
factory
Properties
-
bbox
→ List<
double> -
final
- createdAt → String?
-
final
- creatorName → String?
-
final
-
customData
↔ Map<
String, dynamic> ? -
getter/setter pair
-
flags
↔ List<
AnnotationFlag> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- id → String?
-
final
- name → String?
-
final
- opacity ↔ double
-
getter/setter pair
- pageIndex ↔ int
-
getter/setter pair
- pdfObjectId → int?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subject → String?
-
final
- type → AnnotationType
-
final
- updatedAt ↔ String?
-
getter/setter pair
- v → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited