Google is committed to advancing racial equity for Black communities. See how.

ResourceLoader

interface ResourceLoader
androidx.compose.ui.text.font.Font.ResourceLoader

Interface used to load a font resource.

Summary

Public methods
abstract Any
load(font: Font)

Loads resource represented by the Font object.

Public methods

load

abstract fun load(font: Font): Any

Loads resource represented by the Font object.

Parameters
font: Font Font to be loaded
Return
platform specific font