DefaultFontLoader

constructor(context: Context?, handler: Handler?)

Parameters

context

the Context from which to load the font resources

handler

a Handler for the thread the completion of loading the font should called on. If null, the UI thread will be used.


actual constructor()
expect constructor()
actual constructor()
constructor(transformer: suspend (String) -> KalugaFont?)

Parameters

transformer

method for getting a KalugaFont from a String identifier


actual constructor()
constructor(transformer: suspend (String) -> KalugaFont?)

Parameters

transformer

method for getting a KalugaFont from a String identifier


actual constructor()