Package net.lenni0451.imnbt
Interface FontHandler
public interface FontHandler
Only required to use ImNbt in a standalone application.
You probably don't need this.
You probably don't need this.
-
Method Summary
Modifier and TypeMethodDescriptionimgui.ImFont[]getFonts()Get all fonts that are available.intGet the currently selected font.voidsetSelectedFont(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
-