FontStoragepublic 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 FontStoragepublic FontMetrics getFontMetrics(FontIdentifier record, FontContext context)
getFontMetrics in interface FontStoragepublic void commit()
FontStoragecommit in interface FontStorage