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, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, 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 © 2023 Apache Software Foundation. All rights reserved.