Package icyllis.modernui.graphics.text

# Interface LineBreaker.LineWidth

Enclosing class:
  `LineBreaker`

public static interface LineBreaker.LineWidth
The methods in this interface may be called several times. The implementation must return the same value for the same input.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default float`
  `getAt(int line)`
  Find out the width for the line.
  `default float`
  `getMin()`
  Find out the minimum line width.

- ## Method Details

  - ### getAt

    default float getAt(int line)
    Find out the width for the line. This must not return negative values.
    Parameters:
      `line` - the line index
    Returns:
      the line width in pixels

  - ### getMin

    default float getMin()
    Find out the minimum line width. This mut not return negative values.
    Returns:
      the minimum line width in pixels