public class FontMapping<T extends FontBoxFont>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private T |
font |
private boolean |
isFallback |
Constructor and Description |
---|
FontMapping(T font,
boolean isFallback) |
Modifier and Type | Method and Description |
---|---|
T |
getFont()
Returns the mapped, FontBox font.
|
boolean |
isFallback()
Returns true if the mapped font is a fallback, i.e.
|
private final T extends FontBoxFont font
private final boolean isFallback
public FontMapping(T font, boolean isFallback)
public T getFont()
public boolean isFallback()