All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class WBMPcreator.WBMPCustomFont

java.lang.Object
    |
    +----WBMPcreator.WBMPCustomFont

public class WBMPCustomFont
extends java.lang.Object
This class contains font with the following sizes:
  • 6x4
  • All fonts are described in the custom_fonts.txt file stored in this *.jar file.


    Variable Index

     o FONT_4X6
    A contant value representing a 4x6 font.

    Constructor Index

     o WBMPCustomFont()
     

    Method Index

     o getWBMPImage(String, int)

    A method returning WBMPfile instance containing a string written with the selected font.

    Field Detail

     o FONT_4X6
    public static final int FONT_4X6
              A contant value representing a 4x6 font. This is the smallest font I've managed to draw.

    Constructor Detail

     o WBMPCustomFont
    public WBMPCustomFont()

    Method Detail

     o getWBMPImage
    public static WBMPfile getWBMPImage(java.lang.String text,
                                        int usedFont)
              

    A method returning WBMPfile instance containing a string written with the selected font.

    If wrong font is specified - the 96x65pixels image is returned.

    Parameters:
    text - the string to be converted
    usedFont - font to be used

    All Packages  Class Hierarchy  This Package  Previous  Next  Index