PdfAnnotPolygon constructor

PdfAnnotPolygon(
  1. PdfDocument document,
  2. List<PdfPoint> points, {
  3. required PdfRect rect,
  4. PdfBorder? border,
  5. Set<PdfAnnotFlags>? flags,
  6. DateTime? date,
  7. PdfColor? color,
  8. PdfColor? interiorColor,
  9. String? subject,
  10. String? author,
  11. bool closed = true,
})

Create an Polygon annotation

Implementation

PdfAnnotPolygon(this.document, this.points,
    {required super.rect,
    super.border,
    super.flags,
    super.date,
    super.color,
    this.interiorColor,
    super.subject,
    super.author,
    bool closed = true})
    : super(
        subtype: closed ? '/PolyLine' : '/Polygon',
      );