TextPainter

object TextPainter


Summary

Public functions

Unit
paint(canvas: Canvas, textLayoutResult: TextLayoutResult)

Paints the text onto the given canvas.

Public functions

paint

fun paint(canvas: Canvas, textLayoutResult: TextLayoutResult): Unit

Paints the text onto the given canvas.

Parameters
canvas: Canvas

a canvas to be drawn

textLayoutResult: TextLayoutResult

a result of text layout