| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| Modifier and Type | Method and Description | 
|---|---|
| LineMetrics | Font. getLineMetrics(char[] chars,
              int beginIndex,
              int limit,
              FontRenderContext frc)Returns a  LineMetricsobject created with the
 specified arguments. | 
| LineMetrics | FontMetrics. getLineMetrics(char[] chars,
              int beginIndex,
              int limit,
              Graphics context)Returns the  LineMetricsobject for the specified
 character array in the specifiedGraphicscontext. | 
| LineMetrics | Font. getLineMetrics(CharacterIterator ci,
              int beginIndex,
              int limit,
              FontRenderContext frc)Returns a  LineMetricsobject created with the
 specified arguments. | 
| LineMetrics | FontMetrics. getLineMetrics(CharacterIterator ci,
              int beginIndex,
              int limit,
              Graphics context)Returns the  LineMetricsobject for the specifiedCharacterIteratorin the specifiedGraphicscontext. | 
| LineMetrics | Font. getLineMetrics(String str,
              FontRenderContext frc) | 
| LineMetrics | FontMetrics. getLineMetrics(String str,
              Graphics context) | 
| LineMetrics | Font. getLineMetrics(String str,
              int beginIndex,
              int limit,
              FontRenderContext frc)Returns a  LineMetricsobject created with the
 specified arguments. | 
| LineMetrics | FontMetrics. getLineMetrics(String str,
              int beginIndex,
              int limit,
              Graphics context) | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.