WatermarkAnnotation constructor

WatermarkAnnotation({
  1. String? id,
  2. required List<double> bbox,
  3. String? createdAt,
  4. String? creatorName,
  5. required String text,
  6. required double rotation,
  7. String? fontFamily,
  8. double? fontSize,
  9. Color? color,
  10. required int pageIndex,
  11. int? pdfObjectId,
  12. List<AnnotationFlag>? flags,
  13. String? updatedAt,
  14. double opacity = 1.0,
  15. String? name,
  16. String? subject,
  17. bool hidden = false,
  18. Map<String, dynamic>? customData,
})

Implementation

WatermarkAnnotation({
  super.id,
  required super.bbox,
  super.createdAt,
  super.creatorName,
  required this.text,
  required this.rotation,
  this.fontFamily,
  this.fontSize,
  this.color,
  required super.pageIndex,
  super.pdfObjectId,
  super.flags,
  super.updatedAt,
  super.opacity,
  super.name,
  super.subject,
  super.hidden,
  super.customData,
}) : super(type: AnnotationType.watermark);