UDocTextRun constructor

const UDocTextRun({
  1. required String text,
  2. required Rect rect,
  3. required bool rtl,
  4. required List<UDocGlyph> glyphs,
  5. List<Rect> charRects = const <Rect>[],
  6. bool reliable = true,
  7. String? fontName,
  8. double fontSize = 0,
  9. int lineIndex = 0,
  10. int blockIndex = 0,
})

Implementation

const UDocTextRun({
  required this.text,
  required this.rect,
  required this.rtl,
  required this.glyphs,
  this.charRects = const <Rect>[],
  this.reliable = true,
  this.fontName,
  this.fontSize = 0,
  this.lineIndex = 0,
  this.blockIndex = 0,
});