TextPainter

object TextPainter
kotlin.Any
   ↳ androidx.ui.text.TextPainter

Summary

Public methods

Unit
paint(canvas: Canvas, textLayoutResult: TextLayoutResult)

Paints the text onto the given canvas.

Public methods

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