Retrieves the Win32 font handle (HFONT) for this object's underlying font.
public int getHandle()
public int getHandle( Graphics gr )
gr
A Graphics object to render the font against.
Returns a handle to the font.
If you pass a Graphics object instance to getHandle, the method uses the rendering dimensions of the Graphics object to retrieve the font handle.