Function

setTypeFace

setTypeFace

Source set: Android
override fun setTypeFace(fontType: Int, weight: Int, italic: Boolean)

setTypeFace

Source set: Android
override fun setTypeFace(fontType: String, weight: Int, italic: Boolean)

Parameters

fontType String to be looked up in system
weight the weight of the font
italic if the font is italic
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: