public class FontMapping<T extends FontBoxFont> extends Object
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. a substitute based on basic font style,
such as bold/italic, rather than font name.
|
public FontMapping(T font, boolean isFallback)
public T getFont()
public boolean isFallback()
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.