Class BitmapFontChar


  • public class BitmapFontChar
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      byte[] Bitmap
      Bitmap representing a character:
      int XOrigin
      BitmapFontChar position and size:
      int XSize
      BitmapFontChar position and size:
      int YOrigin
      BitmapFontChar position and size:
      int YSize
      BitmapFontChar position and size:
    • Constructor Summary

      Constructors 
      Constructor Description
      BitmapFontChar​(int iXOrigin, int iYOrigin, int iXSize, int iYSize, byte[] aucBitmap)
      Creates a new BitmapFontChar
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose()
      Delete memory
      • Methods inherited from class java.lang.Object

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

      • XOrigin

        public int XOrigin
        BitmapFontChar position and size:
      • YOrigin

        public int YOrigin
        BitmapFontChar position and size:
      • XSize

        public int XSize
        BitmapFontChar position and size:
      • YSize

        public int YSize
        BitmapFontChar position and size:
      • Bitmap

        public byte[] Bitmap
        Bitmap representing a character:
    • Constructor Detail

      • BitmapFontChar

        public BitmapFontChar​(int iXOrigin,
                              int iYOrigin,
                              int iXSize,
                              int iYSize,
                              byte[] aucBitmap)
        Creates a new BitmapFontChar
        Parameters:
        iXOrigin - the x-origin of the character
        iYOrigin - the y-origin of the character
        iXSize - the x-size of the character
        iYSize - the y-size of the character
        aucBitmap - the bitmap representing a character.
    • Method Detail

      • dispose

        public void dispose()
        Delete memory