public class InstalledFontCollection extends java.lang.Object implements FontCollection
Constructor and Description |
---|
InstalledFontCollection(Java2DFontMetrics java2DFontMetrics)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
int |
setup(int start,
FontInfo fontInfo)
Sets up fonts in a font info object.
|
public InstalledFontCollection(Java2DFontMetrics java2DFontMetrics)
java2DFontMetrics
- required by new instances of FontMetricsMapperpublic int setup(int start, FontInfo fontInfo)
setup
in interface FontCollection
start
- the font starting numberfontInfo
- the font info to set upCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.