FontsLoader
FontsLoader class
Class for loading custom fonts defined by user. Should be used before creating any presentation objects.
clearCache
| Name | Description |
|---|---|
| clearCache () | Releases all custom fonts defined by user This method needs to clear cache with custom fonts defined by user. |
Returns: void
getFontFolders
| Name | Description |
|---|---|
| getFontFolders () | Gets font folders. Returns folders that have been added with LoadExternalFonts method as well as system font folders |
Returns: String
loadExternalFont
| Name | Description |
|---|---|
| loadExternalFont (byte[]) | Adds font from the binary data |
Parameters:
| Name | Type | Description |
|---|---|---|
| data | byte[] | Font’s data |
Returns: void
loadExternalFonts
| Name | Description |
|---|---|
| loadExternalFonts (java.lang.String[]) | Adds additional folders to seek fonts. |
Parameters:
| Name | Type | Description |
|---|---|---|
| directories | java.lang.String[] | Directories to read additional fonts. |
Returns: void