Microsoft SDK for Java

FontDescriptor Class

The FontDescriptor object, like the FontMetrics object that it extends, provides information about the font that underlies a Font object.

FontMetrics 
  | 
  +--FontDescriptor

package com.ms.wfc.ui

public class FontDescriptor
extends
FontMetrics

Remarks

Once you have initialized a FontDescriptor object, you can create a Font object based on the font description. Additionally, you can retrieve a FontDescriptor object that contains information about one or more fonts by using the Graphics object's getFontDescriptors method.

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