@Environment(value=CLIENT) public class TextureFont extends Object implements Font
Modifier and Type | Class and Description |
---|---|
static class |
TextureFont.Loader |
(package private) static class |
TextureFont.TextureFontGlyph |
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.chars.Char2ObjectMap<TextureFont.TextureFontGlyph> |
glyphs |
private NativeImage |
image |
private static Logger |
LOGGER |
Constructor and Description |
---|
TextureFont(NativeImage image,
it.unimi.dsi.fastutil.chars.Char2ObjectMap<TextureFont.TextureFontGlyph> glyphs) |
private static final Logger LOGGER
private final NativeImage image
private final it.unimi.dsi.fastutil.chars.Char2ObjectMap<TextureFont.TextureFontGlyph> glyphs
public TextureFont(NativeImage image, it.unimi.dsi.fastutil.chars.Char2ObjectMap<TextureFont.TextureFontGlyph> glyphs)
public void close()
@Nullable public RenderableGlyph getGlyph(char character)