public class CustomFontCollection extends Object implements FontCollection
Constructor and Description |
---|
CustomFontCollection(FontResolver fontResolver,
List customFonts)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
setup(int num,
FontInfo fontInfo)
Sets up fonts in a font info object.
|
public CustomFontCollection(FontResolver fontResolver, List customFonts)
fontResolver
- a font resolvercustomFonts
- the list of custom fontspublic int setup(int num, FontInfo fontInfo)
setup
in interface FontCollection
num
- the font starting numberfontInfo
- the font info to set upCopyright © 2007-2019. All Rights Reserved.