FontLoader

interface FontLoader

Loads a KalugaFont based on a provided identifier.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun loadFont(identifier: String, defaultValue: KalugaFont?): KalugaFont?

Attempts to load the KalugaFont resource associated with a given identifier. If no match is found, the defaultValue will be returned.