CustomFontData

Inheritance: java.lang.Object

public class CustomFontData

Custom font data class

Constructors

ConstructorDescription
CustomFontData(String fontName, byte[] fontData)Initializes a new instance of the CustomFontData class.

Methods

MethodDescription
getFontName()Gets the name of the font.
getFontData()Gets the font data.

CustomFontData(String fontName, byte[] fontData)

public CustomFontData(String fontName, byte[] fontData)

Initializes a new instance of the CustomFontData class.

Parameters:

ParameterTypeDescription
fontNamejava.lang.StringName of the font.
fontDatabyte[]The font data.

getFontName()

public final String getFontName()

Gets the name of the font.

Returns: java.lang.String

getFontData()

public final byte[] getFontData()

Gets the font data.

Returns: byte[]