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, values
equals, hashCode, toString
public 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 © 2025 Apache Software Foundation. All rights reserved.