Interface TextInput.Skin

  • All Known Implementing Classes:
    TerraTextInputSkin
    Enclosing class:
    TextInput

    public static interface TextInput.Skin
    Text input skin interface. Text input skins are required to implement this.
    • Method Detail

      • getInsertionPoint

        int getInsertionPoint​(int x)
        Parameters:
        x - The X-position (of the mouse probably).
        Returns:
        The insertion point for a given location.
      • getCharacterBounds

        Bounds getCharacterBounds​(int index)
        Parameters:
        index - The location to check.
        Returns:
        The bounds of the character at a given index.