gestalt.extension.font
Class CharacterGrid

java.lang.Object
  extended by gestalt.extension.font.CharacterGrid

public class CharacterGrid
extends java.lang.Object


Field Summary
static boolean VERBOSE
           
 
Constructor Summary
CharacterGrid(int theWidth, int theHeight, int theImageType, float theFontSize, java.awt.Font theFont)
           
CharacterGrid(int theWidth, int theHeight, int theImageType, float theFontSize, java.io.InputStream theFontFile)
           
 
Method Summary
 java.awt.image.BufferedImage createImage()
           
 void drawCharacters(int theWidth, int theHeight)
           
 void drawGlurCharacters(int theWidth, int theHeight, int theGlur)
           
 java.lang.String[] getCharacters(int theNumberOfCharacters, int theStartOffset)
           
 java.awt.image.BufferedImage getImage()
           
 void setBackgroundColor(java.awt.Color theColor)
           
 void setCharacters(java.lang.String[] theCharacters)
           
 void setFontColor(java.awt.Color theColor)
           
 void setImage(java.awt.image.BufferedImage theImage)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

public static boolean VERBOSE
Constructor Detail

CharacterGrid

public CharacterGrid(int theWidth,
                     int theHeight,
                     int theImageType,
                     float theFontSize,
                     java.io.InputStream theFontFile)

CharacterGrid

public CharacterGrid(int theWidth,
                     int theHeight,
                     int theImageType,
                     float theFontSize,
                     java.awt.Font theFont)
Method Detail

setImage

public void setImage(java.awt.image.BufferedImage theImage)

createImage

public java.awt.image.BufferedImage createImage()

getImage

public java.awt.image.BufferedImage getImage()

drawCharacters

public void drawCharacters(int theWidth,
                           int theHeight)

getCharacters

public java.lang.String[] getCharacters(int theNumberOfCharacters,
                                        int theStartOffset)

setCharacters

public void setCharacters(java.lang.String[] theCharacters)

setFontColor

public void setFontColor(java.awt.Color theColor)

setBackgroundColor

public void setBackgroundColor(java.awt.Color theColor)

drawGlurCharacters

public void drawGlurCharacters(int theWidth,
                               int theHeight,
                               int theGlur)


processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009