public class AFPPageFonts
extends java.util.HashMap
Constructor | Description |
---|---|
AFPPageFonts() |
Default constructor
|
AFPPageFonts(AFPPageFonts fonts) |
Parameterized constructor
|
Modifier and Type | Method | 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-2016 The Apache Software Foundation. All Rights Reserved.