public class MemoryFontSource extends FontSourceBase
| Constructor and Description |
|---|
MemoryFontSource(byte[] fontData)
Ctor.
|
MemoryFontSource(byte[] fontData,
int priority)
Ctor.
|
MemoryFontSource(byte[] fontData,
int priority,
java.lang.String cacheKey)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCacheKey()
The key of this source in the cache.
|
byte[] |
getFontData()
Binary font data.
|
java.lang.Iterable |
getFontDataInternal() |
int |
getType()
Returns the type of the font source.
|
getAvailableFonts, getPriority, getPriorityInternal, getWarningCallback, setWarningCallbackpublic MemoryFontSource(byte[] fontData)
fontData - Binary font data.public MemoryFontSource(byte[] fontData,
int priority)
fontData - Binary font data.priority - Font source priority. See the FontSourceBase.getPriority() property description for more information.public MemoryFontSource(byte[] fontData,
int priority,
java.lang.String cacheKey)
fontData - Binary font data.priority - Font source priority. See the FontSourceBase.getPriority() property description for more information.cacheKey - The key of this source in the cache. See getCacheKey() property description for more information.public byte[] getFontData()
byte[] value.public java.lang.String getCacheKey()
String value.public int getType()
getType in class FontSourceBaseFontSourceType constants.public java.lang.Iterable getFontDataInternal()
getFontDataInternal in class FontSourceBase