Microsoft SDK for Java

FontMetrics.averageWidth

Represents the average character width for characters drawn using the described font.

Syntax

public int averageWidth;

Remarks

The average width of a character is generally defined as the width of the letter x and does not include the overhang required for bold or italic characters.

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