Source set: Common
public object TextPainter
Functions
paint
Source set: Common
public fun paint(canvas: Canvas, textLayoutResult: TextLayoutResult)
Paints the text onto the given canvas.
Parameters
| canvas | a canvas to be drawn |
| textLayoutResult | a result of text layout |