phelps.awt.font
public class NFontAWT extends NFontSimple implements Cloneable
Version: $Revision: 1.6 $ $Date: 2003/12/28 20:27:02 $
Field Summary | |
---|---|
static String | FORMAT |
Constructor Summary | |
---|---|
NFontAWT(Font font) |
Method Summary | |
---|---|
boolean | canDisplay(char ch) |
boolean | canDisplayEchar(char ech) |
NFontAWT | deriveFont(float size) |
NFontAWT | deriveFont(AffineTransform at) |
void | drawEstring(Graphics2D g, String estr, float x, float y, int mode) Java's built-in fonts assume Unicode, so translate str to Unicode and invoke NFontAWT. |
void | drawString(Graphics2D g, String str, float x, float y, int mode) |
double | echarWidth(char ech) |
String | getFamily() |
int | getFlags() |
String | getFormat() |
Rectangle2D | getMaxCharBounds() |
String | getName() |
int | getNumGlyphs() |
char | getSpaceChar() |
Rectangle2D | getStringBounds(String str, int beginIndex, int limit) |
int | getWeight() |