PdfAnnotPolygon constructor
PdfAnnotPolygon(})
Create an Polygon annotation
Implementation
PdfAnnotPolygon(
this.document,
this.points, {
required PdfRect rect,
PdfBorder? border,
Set<PdfAnnotFlags>? flags,
DateTime? date,
PdfColor? color,
this.interiorColor,
String? subject,
String? author,
bool closed = true,
}) : super(
subtype: closed ? '/PolyLine' : '/Polygon',
rect: rect,
border: border,
flags: flags,
date: date,
color: color,
subject: subject,
author: author,
);