Interface TextSubmitFeedbackAPI


public interface TextSubmitFeedbackAPI
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    processBreak(byte fontData, int textDataIndex, boolean beforeNextSubmit, char character, int indexOfCurrString, float cursorX, float cursorY)
    When not-any space that draw current character.
    default void
    processText(byte fontData, int textDataIndex, char character, boolean valid, boolean linefeed, int indexOfCurrString, float cursorX, float cursorY, float dataPadding, byte styleBits, byte colorRed, byte colorGreen, byte colorBlue, byte colorAlpha)
     
  • Method Details

    • processText

      default void processText(byte fontData, int textDataIndex, char character, boolean valid, boolean linefeed, int indexOfCurrString, float cursorX, float cursorY, float dataPadding, byte styleBits, byte colorRed, byte colorGreen, byte colorBlue, byte colorAlpha)
      Parameters:
      linefeed - when linefeed occurred, whether it is linefeed symbol.
      styleBits - layout = 0b [invert] [italic] [underline] [strikeout]; flag valid when 1 bit.
    • processBreak

      default void processBreak(byte fontData, int textDataIndex, boolean beforeNextSubmit, char character, int indexOfCurrString, float cursorX, float cursorY)
      When not-any space that draw current character.