astex
Class GoogleFont
java.lang.Object
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.
|
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 |
GoogleFont
public GoogleFont()
setComponent
public static void setComponent(java.awt.Component c)
makeFontImage
public static int[] makeFontImage(java.lang.String s,
int fg,
int bg,
int[] size)