PdfAnnot constructor
PdfAnnot(
- PdfPage pdfPage,
- PdfAnnotBase annot
Implementation
PdfAnnot(this.pdfPage, this.annot)
: super(pdfPage.pdfDocument,
params: PdfDict.values({
'/Type': const PdfName('/Annot'),
})) {
pdfPage.annotations.add(this);
}