public class DefaultFontStorage extends Object implements FontStorage
Constructor and Description |
---|
DefaultFontStorage(FontRegistry registry) |
Modifier and Type | Method and Description |
---|---|
void |
commit()
Mark the processing to be finished; commit any caches to the global storage,
if applicable, clean up and return into a sane state.
|
FontMetrics |
getFontMetrics(FontIdentifier record,
FontContext context) |
FontRegistry |
getFontRegistry() |
public DefaultFontStorage(FontRegistry registry)
public FontRegistry getFontRegistry()
getFontRegistry
in interface FontStorage
public FontMetrics getFontMetrics(FontIdentifier record, FontContext context)
getFontMetrics
in interface FontStorage
public void commit()
FontStorage
commit
in interface FontStorage