Graphics.getFontMetrics
Class Overview | Class Members | This Package | All Packages
Syntax 1
public FontMetrics getFontMetrics()
Returns
the font metrics of this graphics context's current font.
Description
Gets the font metrics of the current font.
See Also
getFont, FontMetrics, getFontMetrics
Syntax 2
public abstract FontMetrics getFontMetrics( Font f )
Parameters
- f
the specified font
Returns
the font metrics for the specified font.
Description
Gets the font metrics for the specified font.