FontFamily Class

Methods | Fields | This Package | All Packages

Defines a group of constants that represent the families to which a font may belong.

Enum
  |
  +--FontFamily

package com.ms.wfc.ui

public final class FontFamily
extends
Enum****

Remarks

The term font family designates one of several attributes used to organize TrueType fonts. Family names include Courier New, Arial, and Times New Roman.

The FontFamily class defines constants for the families to which a font can belong. When you create a Font object, you can specify the font family for the object's underlying font by using the constants defined in this class.

If you create a Font object without specifying a font family, a default value of FontFamily.DEFAULT is used.