Class Font

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class Font
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • SPACE_GLYPH

        private static final EmptyGlyph SPACE_GLYPH
      • SPACE_INFO

        private static final IGlyph SPACE_INFO
      • RANDOM

        private static final java.util.Random RANDOM
      • glyphs

        private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<TexturedGlyph> glyphs
      • glyphInfos

        private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<IGlyph> glyphInfos
      • glyphsByWidth

        private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntList> glyphsByWidth
      • textures

        private final java.util.List<FontTexture> textures
    • Method Detail

      • reload

        public void reload​(java.util.List<IGlyphProvider> p_211570_1_)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • closeProviders

        private void closeProviders()
      • closeTextures

        private void closeTextures()
      • getGlyphInfo

        public IGlyph getGlyphInfo​(int p_238557_1_)
      • getRaw

        private IGlyphInfo getRaw​(int p_212455_1_)