IFontRenderer

public interface IFontRenderer(source)

Not for manual implementation. This should be implemented by the corresponding platform.

Functions

Link copied to clipboard
public abstract Integer getCharWidth(Character char)
Link copied to clipboard
public abstract Integer getHeight()
Link copied to clipboard
public abstract Integer getStringWidth(String string)
Link copied to clipboard
public abstract List<String> splitText(String text, Integer width)
Link copied to clipboard
public String trimStringToWidth(String string, Integer maxWidth)
public abstract String trimStringToWidth(String string, Integer maxWidth, Boolean reverse)