Android Studio Sign in

fontResource

Functions summary

Typeface

This function is deprecated. Prefer to preload fonts using FontFamily.Resolver.

Functions

fontResource

@Composable
fun fontResource(fontFamily: FontFamily): Typeface

Synchronously load an font from FontFamily.

Parameters
fontFamily: FontFamily

the fontFamily

Returns
Typeface

the decoded image data associated with the resource

Morty Proxy This is a proxified and sanitized view of the page, visit original site.