CPDFRedactAnnotation class annotations

A redaction annotation that marks content for removal.

This model only creates and styles the redaction mark. Permanently applying redactions is a separate, irreversible document operation. Native quad points and annotation review states are intentionally excluded from this model's constructor and serialized payload.

Inheritance

Constructors

CPDFRedactAnnotation({String title = "", required int page, String content = "", String uuid = '', DateTime? createDate, required CPDFRectF rect, String overlayText = '', Color fillColor = const Color(0xFF000000), Color? outlineColor, CPDFTextAttribute? textAttribute, CPDFAlignment alignment = CPDFAlignment.center})
CPDFRedactAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

alignment ↔ CPDFAlignment
getter/setter pair
content ↔ String
getter/setter pairinherited
createDate → DateTime?
finalinherited
fillColor ↔ Color
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
markState → CPDFAnnotationMarkState
finalinherited
outlineColor ↔ Color?
getter/setter pair
overlayText ↔ String
getter/setter pair
page → int
finalinherited
rect → CPDFRectF
finalinherited
reviewState → CPDFAnnotationReviewState
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textAttribute ↔ CPDFTextAttribute?
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