Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

GenericFontFamily

@Immutable class GenericFontFamily : SystemFontFamily
kotlin.Any
   ↳ androidx.compose.ui.text.font.FontFamily
   ↳ androidx.compose.ui.text.font.SystemFontFamily
   ↳ androidx.compose.ui.text.font.GenericFontFamily

Defines a font family with an generic font family name.

If the platform cannot find the passed generic font family, use the platform default one.

Summary

Properties
String

a generic font family name, e.

Properties

name

val name: String

a generic font family name, e.g. "serif", "sans-serif"