public class FontHelper extends Object
Constructor and Description |
---|
FontHelper() |
Modifier and Type | Method and Description |
---|---|
static int |
getHeightFor(Font font)
Calculates the minium height needed for the specified font and size.
|
static int |
getWidthFor(Font font,
String text) |
static void |
main(String[] args) |
public static int getHeightFor(Font font)
font
- public static void main(String[] args)
Copyright © 2006–2015 FDV Solutions. All rights reserved.