DefaultFontRegistry

open class DefaultFontRegistry(val coroutineContext: CoroutineContext) : FontRegistry

Constructors

Link copied to clipboard
constructor(coroutineContext: CoroutineContext)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun get(name: String?): Font
Link copied to clipboard
Link copied to clipboard
fun register(font: Font, name: String = font.name): Font
Link copied to clipboard
inline fun <T> registerTemporarily(font: Font, name: String = font.name, block: () -> T): T
Link copied to clipboard
fun unregister(name: String): Font?