draw

open override fun draw(canvas: Canvas, text: CharSequence, start: Int, end: Int, x: Float, top: Int, y: Int, bottom: Int, paint: Paint)

see detail message in android.text.TextLine

Parameters

canvas

the canvas, can be null if not rendering

text

the text to be draw

start

the text start position

end

the text end position

x

the edge of the replacement closest to the leading margin

top

the top of the line

y

the baseline

bottom

the bottom of the line

paint

the work paint