createDefaultFont
Creates a system font with a given weight, FontStyle and FontTrait
Return
a KalugaFont representing the system font with the given specifications
Parameters
fun createDefaultFont(weight: FontWeight, style: FontStyle = FontStyle.DEFAULT, traits: Set<FontTrait> = emptySet()): KalugaFont
Creates a system font with a given FontWeight, FontStyle and FontTrait
Return
a KalugaFont representing the system font with the given specifications
Parameters
expect fun createDefaultFont(weight: Int, style: FontStyle = FontStyle.DEFAULT, traits: Set<FontTrait> = emptySet()): KalugaFont
Creates a system font with a given weight, FontStyle and FontTrait
Return
a KalugaFont representing the system font with the given specifications
Parameters
Creates a system font with a given weight, FontStyle and FontTrait
Return
a KalugaFont representing the system font with the given specifications