Class BitmapFont.Glyph

  • Enclosing class:

    public static class BitmapFont.Glyph
    extends java.lang.Object
    Represents a single character in a font page.
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getKerning​(char ch)  
      void setKerning​(int ch, int value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

        public int id
      • srcX

        public int srcX
      • srcY

        public int srcY
      • width

        public int width
      • height

        public int height
      • u

        public float u
      • v

        public float v
      • u2

        public float u2
      • v2

        public float v2
      • xoffset

        public int xoffset
      • yoffset

        public int yoffset
      • xadvance

        public int xadvance
      • kerning

        public byte[][] kerning
      • fixedWidth

        public boolean fixedWidth
      • page

        public int page
        The index to the texture page that holds this glyph.
    • Constructor Detail

      • Glyph

        public Glyph()
    • Method Detail

      • getKerning

        public int getKerning​(char ch)
      • setKerning

        public void setKerning​(int ch,
                               int value)
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object