astex
Class GoogleFont

java.lang.Object
  extended by astex.GoogleFont

public class GoogleFont
extends java.lang.Object

Prepare an image of a string that looks like the rather groovy outlined font that Google maps uses. Needs an AWT component to do the offscreen font rendering.


Constructor Summary
GoogleFont()
           
 
Method Summary
static int[] makeFontImage(java.lang.String s, int fg, int bg, int[] size)
           
static void setComponent(java.awt.Component c)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleFont

public GoogleFont()
Method Detail

setComponent

public static void setComponent(java.awt.Component c)

makeFontImage

public static int[] makeFontImage(java.lang.String s,
                                  int fg,
                                  int bg,
                                  int[] size)