Methods | Fields | This Package | All Packages

FontWeight Class

Defines constants that represent the different weights that you can associate with a font.

Enum
  |
  +--FontWeight

package com.ms.wfc.ui

public final class FontWeight
extends
Enum

Remarks

A font's weight can range from 0 to 1000 inclusive. This class defines constants for some of the more commonly used font weights.

You specify the weight of a font when you create a Font object. If you create a Font object using a constructor that takes no weight parameter, or specify a value of 0, a default value of FontWeight.NORMAL is used.