Uses of Class java.awt.font.LineMetrics (Java SE 21 & JDK 21)
Description: use: module: java.desktop, package: java.awt.font, class: LineMetrics

# 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
  Description
  `LineMetrics`
  Font.`getLineMetrics(char[] chars, int beginIndex, int limit, FontRenderContext frc)`
  Returns a `LineMetrics` object created with the specified arguments.
  `LineMetrics`
  Font.`getLineMetrics(String str, int beginIndex, int limit, FontRenderContext frc)`
  Returns a `LineMetrics` object created with the specified arguments.
  `LineMetrics`
  Font.`getLineMetrics(String str, FontRenderContext frc)`
  Returns a `LineMetrics` object created with the specified `String` and `FontRenderContext`.
  `LineMetrics`
  Font.`getLineMetrics(CharacterIterator ci, 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`
  FontMetrics.`getLineMetrics(String str, int beginIndex, int limit, Graphics context)`
  Returns the `LineMetrics` object for the specified `String` in the specified `Graphics` context.
  `LineMetrics`
  FontMetrics.`getLineMetrics(String str, Graphics context)`
  Returns the `LineMetrics` object for the specified `String` in the specified `Graphics` context.
  `LineMetrics`
  FontMetrics.`getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context)`
  Returns the `LineMetrics` object for the specified `CharacterIterator` in the specified `Graphics` context.