GenericFontFamily

Class

Common
class GenericFontFamily internal constructor(val name: String, private val fontFamilyName: String) :
    SystemFontFamily()

Defines a font family with a generic font family name.

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

Parameters

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