setTypeface

open fun setTypeface(typeface: Typeface)

Sets the typeface and style in which the text should be displayed.

Parameters

typeface

The typeface.


open fun setTypeface(tf: Typeface?, style: Int)

Sets the typeface and style in which the text should be displayed.

Parameters

tf

The typeface.

style

The style.