Microsoft SDK for Java

FontX Class Methods

The FontX Class contains the following methods:

equals checks that the argument is not null (is either a font or a FontX object) and has the same name, same style, and same point size as this FontX object.
getAttributeList retrieves a list of the attributes that the current font supports.
getFlags retrieves the extended flags of a FontX object.
getFlagsVal retrieves a value for the flags associated with the given face.
getFont retrieves a font if an exact match is made, given the font face, style, size, and any specified flags.
getFontList retrieves a list of the names of the font faces available.
getStyleVal retrieves a value for the style associated with the given face.
isTypeable checks whether the font can be typed in the given language.
matchFace compares the current font face to the specified face.
toString returns a string that specifies the family, font face, style, and size of the given font.

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