PdfTextRun constructor

const PdfTextRun({
  1. required String text,
  2. required PdfMatrix transform,
  3. required PdfColor color,
  4. required double width,
  5. PdfGradient? gradient,
  6. String? fontName,
  7. double fontSize = 0,
  8. List<PdfGlyphPlacement>? glyphs,
  9. bool invisible = false,
  10. bool fill = true,
  11. PdfColor? strokeColor,
  12. double strokeWidth = 0,
  13. int? mcid,
})

Implementation

const PdfTextRun({
  required this.text,
  required this.transform,
  required this.color,
  required this.width,
  this.gradient,
  this.fontName,
  this.fontSize = 0,
  this.glyphs,
  this.invisible = false,
  this.fill = true,
  this.strokeColor,
  this.strokeWidth = 0,
  this.mcid,
});