CPDFStampAnnotation class annotations
Stamp annotation model.
A stamp annotation that extends CPDFAnnotation. It can represent standard stamps or text stamps.
Key properties:
- stampType: Determines whether this is a standard stamp or a text stamp.
- standardStamp: The predefined standard stamp type.
- textStamp: Text stamp configuration when stampType is text.
Serialization:
- Use CPDFStampAnnotation.fromJson to create an instance from a JSON map.
- Use toJson to convert this instance to a JSON map.
- Inheritance
-
- Object
- CPDFAnnotation
- CPDFStampAnnotation
Constructors
- CPDFStampAnnotation({String title = "", required int page, String content = "", String uuid = '', DateTime? createDate, required CPDFRectF rect, CPDFStandardStamp? standardStamp, CPDFStampType? stampType, CPDFTextStamp? textStamp})
-
CPDFStampAnnotation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- 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
- stampType ↔ CPDFStampType?
-
The type of stamp annotation.
Possible values include:
getter/setter pair
- standardStamp ↔ CPDFStandardStamp?
-
The standard stamp type for the annotation.
getter/setter pair
- textStamp ↔ CPDFTextStamp?
-
getter/setter pair
- 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