Package com.jme3.font

Class BitmapCharacter

java.lang.Object
com.jme3.font.BitmapCharacter
All Implemented Interfaces:
Savable, Cloneable

public class BitmapCharacter extends Object implements Savable, Cloneable
Represents a single bitmap character.
  • Constructor Details

    • BitmapCharacter

      public BitmapCharacter()
    • BitmapCharacter

      public BitmapCharacter(char c)
  • Method Details

    • clone

      public BitmapCharacter clone()
      Overrides:
      clone in class Object
    • getX

      public int getX()
    • setX

      public void setX(int x)
    • getY

      public int getY()
    • setY

      public void setY(int y)
    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int width)
    • getHeight

      public int getHeight()
    • setHeight

      public void setHeight(int height)
    • getXOffset

      public int getXOffset()
    • setXOffset

      public void setXOffset(int offset)
    • getYOffset

      public int getYOffset()
    • setYOffset

      public void setYOffset(int offset)
    • getXAdvance

      public int getXAdvance()
    • setXAdvance

      public void setXAdvance(int advance)
    • setPage

      public void setPage(int page)
    • getPage

      public int getPage()
    • getChar

      public char getChar()
    • setChar

      public void setChar(char c)
    • addKerning

      public void addKerning(int second, int amount)
    • getKerning

      public int getKerning(int second)
    • write

      public void write(JmeExporter ex) throws IOException
      Specified by:
      write in interface Savable
      Throws:
      IOException
    • read

      public void read(JmeImporter im) throws IOException
      Specified by:
      read in interface Savable
      Throws:
      IOException