WatermarkAnnotation constructor
WatermarkAnnotation({
- String? id,
- required List<
double> bbox, - String? createdAt,
- String? creatorName,
- required String text,
- required double rotation,
- String? fontFamily,
- double? fontSize,
- Color? color,
- required int pageIndex,
- int? pdfObjectId,
- List<
AnnotationFlag> ? flags, - String? updatedAt,
- double opacity = 1.0,
- String? name,
- String? subject,
- 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);