FontStorage
public class DefaultFontStorage extends java.lang.Object implements FontStorage
Constructor | Description |
---|---|
DefaultFontStorage(FontRegistry registry) |
Modifier and Type | Method | 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