PolygonAnnotation constructor
PolygonAnnotation({})
Implementation
PolygonAnnotation({
required List<PdfPoint> points,
Widget? child,
PdfColor? color,
PdfColor? interiorColor,
PdfBorder? border,
String? author,
DateTime? date,
String? subject,
String? content,
}) : super(
child: child ??
Polygon(
points: points,
strokeColor: color,
fillColor: interiorColor,
strokeWidth: border?.width ?? 1.0),
builder: AnnotationPolygon(
points,
color: color,
interiorColor: interiorColor,
border: border,
author: author,
date: date,
content: content,
subject: subject,
),
);