@TestClass(value="org.openscience.cdk.renderer.font.AWTFontManagerTest") public class AWTFontManager extends AbstractFontManager
IFontManager.FontStyle
Constructor and Description |
---|
AWTFontManager()
Make a manager for fonts in AWT, with a minimum font size of 9.
|
Modifier and Type | Method and Description |
---|---|
Font |
getFont()
Get the current font.
|
void |
setFontForZoom(double zoom)
For a particular zoom level, set the appropriate font size to use.
|
atLowerBoundary, atMax, atMin, atUpperBoundary, decreaseFontSize, getFontName, getFontStyle, getNumberOfFontSizes, increaseFontSize, inLower, inRange, inUpper, registerFontSizeMapping, resetVirtualCounts, setFontName, setFontStyle, toMiddle
@TestMethod(value="testConstructor") public AWTFontManager()
public void setFontForZoom(double zoom)
zoom
- a real number in the range (0.0, INF)public Font getFont()