lt.monarch.chart.util
Class FontUtil

java.lang.Object
  extended by lt.monarch.chart.util.FontUtil

public final class FontUtil
extends java.lang.Object


Constructor Summary
Constructor and Description
FontUtil()
           
 
Method Summary
Modifier and Type Method and Description
 int getCharWidth(char ch, java.awt.FontMetrics fm)
          Returns the advance width of the specified character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FontUtil

public FontUtil()
Method Detail

getCharWidth

public int getCharWidth(char ch,
                        java.awt.FontMetrics fm)
Returns the advance width of the specified character.

Parameters:
ch - character
fm - font metrics
Returns:
char size