CPDFRedactAnnotation constructor

CPDFRedactAnnotation({
  1. String title = "",
  2. required int page,
  3. String content = "",
  4. String uuid = '',
  5. DateTime? createDate,
  6. required CPDFRectF rect,
  7. String overlayText = '',
  8. Color fillColor = const Color(0xFF000000),
  9. Color? outlineColor,
  10. CPDFTextAttribute? textAttribute,
  11. CPDFAlignment alignment = CPDFAlignment.center,
})

Implementation

CPDFRedactAnnotation({
  super.title,
  required super.page,
  super.content,
  super.uuid = '',
  super.createDate,
  required super.rect,
  this.overlayText = '',
  this.fillColor = const Color(0xFF000000),
  this.outlineColor,
  this.textAttribute,
  this.alignment = CPDFAlignment.center,
}) : super(type: CPDFAnnotationType.redact);