|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kemet.lf.tools.ihm.FontTools
public class FontTools
FontTools : toolbox for font.
| Constructor Summary | |
|---|---|
FontTools()
|
|
| Method Summary | |
|---|---|
static int |
widthOfCaracter(java.awt.Font font)
return the width of a caracter for a particular font. |
static int |
widthOfText(java.lang.String text,
java.awt.Font font)
return the width of a text for a particular font. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FontTools()
| Method Detail |
|---|
public static int widthOfCaracter(java.awt.Font font)
return the width of a caracter for a particular font.
font - current font
public static int widthOfText(java.lang.String text,
java.awt.Font font)
return the width of a text for a particular font.
text - current textfont - font of the text
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||