|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmce.swing.AbstractBitmapFont
public abstract class AbstractBitmapFont
Abstract implementations of bitapfont.
Field Summary | |
---|---|
protected int[] |
bitmap
|
protected int |
height
|
protected int |
width
|
Method Summary | |
---|---|
int |
getBitmap(int ch,
int y)
|
int |
getHeight()
Return the height of the font. |
boolean |
getPixel(int ch,
int x,
int y)
Get a pixel from a specified char. |
int |
getWidth()
Return the width of the font. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int[] bitmap
protected int width
protected int height
Method Detail |
---|
public boolean getPixel(int ch, int x, int y)
BitmapFont
getPixel
in interface BitmapFont
ch
- - Character 0 - 255x
- - X coordinate of the char.y
- - Y coordinate of the char.public int getBitmap(int ch, int y)
public int getWidth()
BitmapFont
getWidth
in interface BitmapFont
public int getHeight()
BitmapFont
getHeight
in interface BitmapFont
|
jmce - 1_02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |