Package org.boxutil.base.api.resource
Interface TextSubmitFeedbackAPI
public interface TextSubmitFeedbackAPI
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidprocessBreak(byte fontData, int textDataIndex, boolean beforeNextSubmit, char character, int indexOfCurrString, float cursorX, float cursorY) When not-any space that draw current character.default voidprocessText(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.
-