gestalt.extension.font
Class CharacterGrid
java.lang.Object
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)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERBOSE
public static boolean VERBOSE
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)
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