# Interface SyTextSingleLineModelReadableType

All Known Subinterfaces:
  `SyTextSingleLineModelType`

public interface SyTextSingleLineModelReadableType
A readable single-line text model.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SyFontType`
  `font()`
  `SyTextLocationType`
  `inspectAt(com.io7m.jtensors.core.parameterized.vectors.PVector2I<SySpaceParentRelativeType> position)`
  Inspect the text at the given position.
  `SyTextLineMeasuredType`
  `lineMeasured()`
  The measured line.
  `com.io7m.jattribute.core.AttributeReadableType<SyText>`
  `text()`

- ## Method Details

  - ### font

    SyFontType font()
    Returns:
      The font used for the model

  - ### text

    com.io7m.jattribute.core.AttributeReadableType<SyText> text()
    Returns:
      The text

  - ### lineMeasured

    SyTextLineMeasuredType lineMeasured()
    The measured line.
    Returns:
      The measured line

  - ### inspectAt

    SyTextLocationType inspectAt(com.io7m.jtensors.core.parameterized.vectors.PVector2I<SySpaceParentRelativeType> position)
    Inspect the text at the given position. The information returned includes details such as the index of the character within the string at the given location, information for rendering a caret, etc.
    Parameters:
      `position` - The position
    Returns:
      Information about text at the given position