IFontRenderer

@NullMarked()
public interface IFontRenderer(source)

Functions

Link copied to clipboard
public int getCharWidth(char c)
Link copied to clipboard
public abstract int getHeight()
Link copied to clipboard
public abstract int getStringWidth(StructuredText structuredText)
public int getStringWidth(String string)
Link copied to clipboard
public List<StructuredText> splitLines(StructuredText structuredText)
Link copied to clipboard
public abstract List<StructuredText> splitText(StructuredText structuredText, int width)
Link copied to clipboard
public String trimStringToWidth(String string, int width)
public abstract String trimStringToWidth(String string, int width, boolean reversed)