Interface FontHandler


public interface FontHandler
Only required to use ImNbt in a standalone application.
You probably don't need this.
  • Method Summary

    Modifier and Type
    Method
    Description
    imgui.ImFont[]
    Get all fonts that are available.
    int
    Get the currently selected font.
    void
    setSelectedFont(int selectedFont)
    Get the font size.
  • Method Details

    • getFonts

      imgui.ImFont[] getFonts()
      Get all fonts that are available.
      Returns:
      All fonts
    • getSelectedFont

      int getSelectedFont()
      Get the currently selected font.
      Returns:
      The selected font
    • setSelectedFont

      void setSelectedFont(int selectedFont)
      Get the font size.
      Parameters:
      selectedFont - The font to get the size from