FontMetrics.weight

Overview | Methods | Fields | This Package | All Packages

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.