(line)
| 878 | const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width); |
| 879 | |
| 880 | const fillLineOfText = function(line) { |
| 881 | ctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyLineHeight / 2); |
| 882 | pt.y += bodyLineHeight + bodySpacing; |
| 883 | }; |
| 884 | |
| 885 | const bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign); |
| 886 | let bodyItem, textColor, lines, i, j, ilen, jlen; |