PdfXObject constructor

PdfXObject(
  1. PdfDocument pdfDocument,
  2. String? subtype, {
  3. bool isBinary = false,
})

Implementation

PdfXObject(super.pdfDocument, String? subtype, {super.isBinary})
    : super(type: '/XObject') {
  if (subtype != null) {
    params['/Subtype'] = PdfName(subtype);
  }
}