com.hdcookbook.grin.fontstrip
Class FontImageMosaic
java.lang.Object
com.hdcookbook.grin.fontstrip.FontImageMosaic
public class FontImageMosaic
- extends java.lang.Object
Represents the final font image file used by GRIN at runtime.
This image holds a mosaic of font images gathered from FontDesignImage(s).
The image file generated by this class is meant to be loaded onto a disc
and used at xlet runtime together with "fontstrp.inf", which is an
information file that describes all the font mosaics.
Constructor Summary |
FontImageMosaic(int width,
int height,
double scaleX,
double scaleY)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontImageMosaic
public FontImageMosaic(int width,
int height,
double scaleX,
double scaleY)
addFontImages
public void addFontImages(FontDesignImage fontDesignImage)
throws java.io.IOException
- Throws:
java.io.IOException
setOutputFile
public void setOutputFile(java.io.File outputFile)
writeOutFiles
public void writeOutFiles(java.io.DataOutputStream infoOut)
throws java.io.IOException
- Throws:
java.io.IOException