PdfTextRun constructor
const
PdfTextRun({
- required String text,
- required PdfMatrix transform,
- required PdfColor color,
- required double width,
- PdfGradient? gradient,
- String? fontName,
- double fontSize = 0,
- List<
PdfGlyphPlacement> ? glyphs, - List<
double> ? charOffsets, - bool invisible = false,
- bool fill = true,
- PdfColor? strokeColor,
- double strokeWidth = 0,
- double fillAlpha = 1,
- double strokeAlpha = 1,
- double letterSpacing = 0,
- double wordSpacing = 0,
- double? visibleWidth,
- double leadingSpace = 0,
- 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.charOffsets,
this.invisible = false,
this.fill = true,
this.strokeColor,
this.strokeWidth = 0,
this.fillAlpha = 1,
this.strokeAlpha = 1,
this.letterSpacing = 0,
this.wordSpacing = 0,
this.visibleWidth,
this.leadingSpace = 0,
this.mcid,
});