Interface StyledTextLineSpacingProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface StyledTextLineSpacingProvider
Line spacing provider used to customize different line spacing for some lines of StyledText
Since:
3.107
  • Method Summary

    Modifier and Type
    Method
    Description
    getLineSpacing(int lineIndex)
    Returns the line spacing of the given line index and null otherwise.
  • Method Details

    • getLineSpacing

      Integer getLineSpacing(int lineIndex)
      Returns the line spacing of the given line index and null otherwise. In this case, it will use the StyledText.getLineSpacing().
      Parameters:
      lineIndex - line index.
      Returns:
      the line spacing of the given line index and null otherwise. In this case, it will use the StyledText.getLineSpacing().
      Since:
      3.107