IFontSources

public interface IFontSources

Provides file and memory sources for external fonts.

Methods

MethodDescription
getFontFolders()Folders containing font files.
setFontFolders(String[] value)Folders containing font files.
getMemoryFonts()A collection of fonts represented as byte arrays.
setMemoryFonts(byte[][] value)A collection of fonts represented as byte arrays.

getFontFolders()

public abstract String[] getFontFolders()

Folders containing font files. All font files located in these folders are included in the collection. Folders that are recursively searched.

Returns: java.lang.String[]

setFontFolders(String[] value)

public abstract void setFontFolders(String[] value)

Folders containing font files. All font files located in these folders are included in the collection. Folders that are recursively searched.

Parameters:

ParameterTypeDescription
valuejava.lang.String[]

getMemoryFonts()

public abstract byte[][] getMemoryFonts()

A collection of fonts represented as byte arrays.

Returns: byte[][]

setMemoryFonts(byte[][] value)

public abstract void setMemoryFonts(byte[][] value)

A collection of fonts represented as byte arrays.

Parameters:

ParameterTypeDescription
valuebyte[][]