CPDFLinkAnnotation class annotations
Link annotation model.
Link annotations are used to create clickable areas that can navigate to a different page, open a URL, or perform other actions.
Key properties:
- action: Optional CPDFAction triggered when the link is activated.
Serialization:
- Use CPDFLinkAnnotation.fromJson to create an instance from a JSON map.
- Use toJson to convert this instance to a JSON map.
- Inheritance
-
- Object
- CPDFAnnotation
- CPDFLinkAnnotation
Constructors
- CPDFLinkAnnotation({required String title, required int page, required String content, String uuid = '', DateTime? createDate, required CPDFRectF rect, CPDFAction? action})
-
CPDFLinkAnnotation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- action ↔ CPDFAction?
-
getter/setter pair
- content ↔ String
-
getter/setter pairinherited
- createDate → DateTime?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- page → int
-
finalinherited
- rect → CPDFRectF
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String
-
getter/setter pairinherited
- type → CPDFAnnotationType
-
finalinherited
- uuid → String
-
finalinherited
Methods
-
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