libgdx API

com.badlogic.gdx.graphics.g2d
Class BitmapFont.Glyph

java.lang.Object
  extended by com.badlogic.gdx.graphics.g2d.BitmapFont.Glyph
Enclosing class:
BitmapFont

public static class BitmapFont.Glyph
extends java.lang.Object


Field Summary
 int height
           
 byte[][] kerning
           
 int srcX
           
 int srcY
           
 float u
           
 float u2
           
 float v
           
 float v2
           
 int width
           
 int xadvance
           
 int xoffset
           
 int yoffset
           
 
Constructor Summary
BitmapFont.Glyph()
           
 
Method Summary
 int getKerning(char ch)
           
 void setKerning(int ch, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

BitmapFont.Glyph

public BitmapFont.Glyph()
Method Detail

getKerning

public int getKerning(char ch)

setKerning

public void setKerning(int ch,
                       int value)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)