jmce - 1_02

jmce.swing
Interface BitmapFont

All Known Implementing Classes:
AbstractBitmapFont, BitmapFont6x8, BitmapFont8x14, BitmapFont8x8

public interface BitmapFont

Interface to rappresent a bitmap font.

Version:
1.00
Author:
Mario Viara

Method Summary
 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.
 

Method Detail

getPixel

boolean getPixel(int ch,
                 int x,
                 int y)
Get a pixel from a specified char.

Parameters:
ch - - Character 0 - 255
x - - X coordinate of the char.
y - - Y coordinate of the char.

getWidth

int getWidth()
Return the width of the font.


getHeight

int getHeight()
Return the height of the font.


jmce - 1_02