## Uses of Class
java.awt.font.LineMetrics

- Packages that use LineMetrics
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.

- - ### Uses of LineMetrics in java.awt

    Methods in java.awt that return LineMetrics
    Modifier and Type | Method and Description
    --- | ---
    `LineMetrics` | Font.`getLineMetrics(char[] chars, int beginIndex, int limit, FontRenderContext frc)` Returns a `LineMetrics` object created with the specified arguments.
    `LineMetrics` | FontMetrics.`getLineMetrics(char[] chars, int beginIndex, int limit, Graphics context)` Returns the `LineMetrics` object for the specified character array in the specified `Graphics` context.
    `LineMetrics` | Font.`getLineMetrics(CharacterIterator ci, int beginIndex, int limit, FontRenderContext frc)` Returns a `LineMetrics` object created with the specified arguments.
    `LineMetrics` | FontMetrics.`getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context)` Returns the `LineMetrics` object for the specified `CharacterIterator` in the specified `Graphics` context.
    `LineMetrics` | Font.`getLineMetrics(String str, FontRenderContext frc)` Returns a `LineMetrics` object created with the specified `String` and `FontRenderContext`.
    `LineMetrics` | FontMetrics.`getLineMetrics(String str, Graphics context)` Returns the `LineMetrics` object for the specified `String` in the specified `Graphics` context.
    `LineMetrics` | Font.`getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)` Returns a `LineMetrics` object created with the specified arguments.
    `LineMetrics` | FontMetrics.`getLineMetrics(String str, int beginIndex, int limit, Graphics context)` Returns the `LineMetrics` object for the specified `String` in the specified `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, 2019, Oracle and/or its affiliates. All rights reserved.