PdfAnnotSquare constructor

PdfAnnotSquare({
  1. required PdfRect rect,
  2. PdfBorder? border,
  3. Set<PdfAnnotFlags>? flags,
  4. DateTime? date,
  5. PdfColor? color,
  6. PdfColor? interiorColor,
  7. String? subject,
  8. String? author,
})

Create an Square annotation

Implementation

PdfAnnotSquare({
  required PdfRect rect,
  PdfBorder? border,
  Set<PdfAnnotFlags>? flags,
  DateTime? date,
  PdfColor? color,
  this.interiorColor,
  String? subject,
  String? author,
}) : super(
        subtype: '/Square',
        rect: rect,
        border: border,
        flags: flags,
        date: date,
        color: color,
        subject: subject,
        author: author,
      );