Microsoft SDK for Java

FontMetrics Class

Defines the physical characteristics of a font as it is mapped into a Graphics object.

package com.ms.wfc.ui

public class FontMetrics

Remarks

You can specify the font metrics on which a font is based when you create a Font object.

In addition, given a Font object, you can use its getFontMetrics method to retrieve the FontMetrics object on which the font is based.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.