gestalt.texture
Class FontProducer
java.lang.Object
gestalt.texture.FontProducer
public class FontProducer
- extends java.lang.Object
|
Constructor Summary |
FontProducer(java.io.InputStream theFilename)
|
FontProducer(java.io.InputStream theFilename,
int theQuality)
|
FontProducer(java.io.InputStream theFilename,
int theQuality,
float theSize,
float theLineWidth,
int theStyle)
|
FontProducer(java.lang.String theFilename)
|
FontProducer(java.lang.String theFilename,
int theQuality)
|
FontProducer(java.lang.String theFont,
int theQuality,
float theSize,
float theLineWidth,
int theStyle)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FontProducer
public FontProducer(java.lang.String theFilename)
FontProducer
public FontProducer(java.lang.String theFilename,
int theQuality)
FontProducer
public FontProducer(java.lang.String theFont,
int theQuality,
float theSize,
float theLineWidth,
int theStyle)
FontProducer
public FontProducer(java.io.InputStream theFilename)
FontProducer
public FontProducer(java.io.InputStream theFilename,
int theQuality)
FontProducer
public FontProducer(java.io.InputStream theFilename,
int theQuality,
float theSize,
float theLineWidth,
int theStyle)
fromInstalledFont
public static FontProducer fromInstalledFont(java.lang.String theInstalledFont,
int theQuality)
fromInstalledFont
public static FontProducer fromInstalledFont(java.lang.String theInstalledFont,
int theQuality,
float theSize,
float theLineWidth,
int theStyle)
list
public static java.lang.String[] list()
isInstalled
public static boolean isInstalled(java.lang.String theString)
setBackgroundColor
public void setBackgroundColor(Color theColor)
setFontColor
public void setFontColor(Color theColor)
setSmoothFactor
public void setSmoothFactor(int theSmooth)
setScaleFactor
public void setScaleFactor(float theScale)
setQuality
public void setQuality(int theQuality)
setStyle
public void setStyle(int theStyle)
setSize
public void setSize(float theSize)
setLineWidth
public void setLineWidth(float theLinewidth)
setAlignment
public void setAlignment(int theAlignment)
setImageBorder
public void setImageBorder(Vector2i theBorder)
getImage
public java.awt.image.BufferedImage getImage(java.lang.String theText)
antialias
public void antialias(boolean theAntialias)
getBitmap
public ByteBitmap getBitmap(java.lang.String theText)
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009