debugRuns method
Debug: dump text runs with positions.
Implementation
List<Map<String, dynamic>> debugRuns() {
return _textRuns
.map((r) => {
'text': r.text,
'x': r.x,
'y': r.y,
'fontSize': r.fontSize,
'fontName': r.fontName,
'approxWidth': r.approxWidth,
})
.toList();
}