test
public class FontToy extends JPanel
Constructor Summary | |
---|---|
FontToy(PDFFile pdf) Creates a new instance of FontToy |
Method Summary | |
---|---|
void | drawPoint(Graphics2D g, int num, float x, float y, boolean curvectl)
Draw and label a point |
PDFFont | getCurrentFont() get the current font |
PDFGlyph | getCurrentGlyph() get the current glyph |
Set | getFonts() get the set of associated fonts |
static void | main(String[] args) |
void | paint(Graphics g)
paint the current glyph on the screen |
void | setCurrentFont(PDFFont font) set the current font |
void | setCurrentGlyph(PDFGlyph glyph) set the current glyph |
Parameters: args the command line arguments