public class AFPPageFonts extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AFPPageFonts()
Default constructor
|
AFPPageFonts(AFPPageFonts fonts)
Parameterized constructor
|
| Modifier and Type | Method and Description |
|---|---|
AFPFontAttributes |
registerFont(String fontName,
AFPFont font,
int fontSize)
Registers a font on the current page and returns font attributes
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic AFPPageFonts()
public AFPPageFonts(AFPPageFonts fonts)
fonts - an existing set of afp page fontspublic AFPFontAttributes registerFont(String fontName, AFPFont font, int fontSize)
fontName - the internal font namefont - the AFPFontfontSize - the font point sizeCopyright © 2019 Apache Software Foundation. All rights reserved.