Class FontToy

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class FontToy extends JPanel
See Also:
  • Constructor Details

  • Method Details

    • drawPoint

      public void drawPoint(Graphics2D g, int num, float x, float y, boolean curvectl)
      Draw and label a point
    • getFonts

      public Set getFonts()
      get the set of associated fonts
    • getCurrentFont

      public PDFFont getCurrentFont()
      get the current font
    • getCurrentGlyph

      public PDFGlyph getCurrentGlyph()
      get the current glyph
    • main

      public static void main(String[] args)
      Parameters:
      args - the command line arguments
    • paint

      public void paint(Graphics g)
      paint the current glyph on the screen
      Overrides:
      paint in class JComponent
    • setCurrentFont

      public void setCurrentFont(PDFFont font)
      set the current font
    • setCurrentGlyph

      public void setCurrentGlyph(PDFGlyph glyph)
      set the current glyph