public class AFPPageFonts
extends java.util.HashMap
Constructor and Description |
---|
AFPPageFonts()
Default constructor
|
AFPPageFonts(AFPPageFonts fonts)
Parameterized constructor
|
Modifier and Type | Method and Description |
---|---|
AFPFontAttributes |
registerFont(java.lang.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
public AFPPageFonts()
public AFPPageFonts(AFPPageFonts fonts)
fonts
- an existing set of afp page fontspublic AFPFontAttributes registerFont(java.lang.String fontName, AFPFont font, int fontSize)
fontName
- the internal font namefont
- the AFPFontfontSize
- the font point sizeCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.