gestalt.texture
Class FontProducer

java.lang.Object
  extended by 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)
           
 
Method Summary
 void antialias(boolean theAntialias)
           
static FontProducer fromInstalledFont(java.lang.String theInstalledFont, int theQuality)
           
static FontProducer fromInstalledFont(java.lang.String theInstalledFont, int theQuality, float theSize, float theLineWidth, int theStyle)
           
 ByteBitmap getBitmap(java.lang.String theText)
           
 java.awt.image.BufferedImage getImage(java.lang.String theText)
           
static boolean isInstalled(java.lang.String theString)
           
static java.lang.String[] list()
           
 void setAlignment(int theAlignment)
           
 void setBackgroundColor(Color theColor)
           
 void setFontColor(Color theColor)
           
 void setImageBorder(Vector2i theBorder)
           
 void setLineWidth(float theLinewidth)
           
 void setQuality(int theQuality)
           
 void setScaleFactor(float theScale)
           
 void setSize(float theSize)
           
 void setSmoothFactor(int theSmooth)
           
 void setStyle(int theStyle)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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