Microsoft SDK for Java

FontMetrics.weight

Specifies the font weight.

Syntax

public int weight;

Remarks

This value, if initialized, must be a value between 0 and 1000. The most commonly used font weights are defined as enumeration constants in the FontWeight class.

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