CustomFontData
Inheritance: java.lang.Object
public class CustomFontData
Custom font data class
Constructors
| Constructor | Description |
|---|---|
| CustomFontData(String fontName, byte[] fontData) | Initializes a new instance of the CustomFontData class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| fontName | java.lang.String | Name of the font. |
| fontData | byte[] | 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[]