renderBackground

open fun renderBackground(textField: TextField, canvas: Canvas)(source)

Allows custom rendering for textField's background. The operations done in this call will be drawn under textField; so implementations should most likely update TextField.backgroundColor so it is not opaque to ensure the results of this call are visible.

Parameters

textField

being rendered

canvas

to render onto