toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.font
/
DefaultFontRegistry
Default
Font
Registry
open
class
DefaultFontRegistry
(
val
coroutineContext
:
CoroutineContext
)
:
FontRegistry
Members
Constructors
Default
Font
Registry
Link copied to clipboard
constructor
(
coroutineContext
:
CoroutineContext
)
Properties
coroutine
Context
Link copied to clipboard
val
coroutineContext
:
CoroutineContext
Functions
get
Link copied to clipboard
open
operator override
fun
get
(
name
:
String
?
)
:
Font
normalize
Name
Link copied to clipboard
fun
normalizeName
(
name
:
String
?
)
:
String
?
register
Link copied to clipboard
fun
register
(
font
:
Font
,
name
:
String
=
font.name
)
:
Font
register
Temporarily
Link copied to clipboard
inline
fun
<
T
>
registerTemporarily
(
font
:
Font
,
name
:
String
=
font.name
,
block
:
(
)
->
T
)
:
T
unregister
Link copied to clipboard
fun
unregister
(
name
:
String
)
:
Font
?