Class PDFGlyph

java.lang.Object
org.loboevolution.pdfview.font.PDFGlyph

public class PDFGlyph extends Object
A single glyph in a stream of PDF text, which knows how to write itself onto a PDF command stream
  • Constructor Details

    • PDFGlyph

      public PDFGlyph(char src, String name, GeneralPath shape, Point2D.Float advance)
      Creates a new instance of PDFGlyph based on a shape
      Parameters:
      src - a char.
      name - a String object.
      shape - a GeneralPath object.
      advance - a Point2D.Float object.
    • PDFGlyph

      public PDFGlyph(char src, String name, PDFPage page, Point2D advance)
      Creates a new instance of PDFGlyph based on a page
      Parameters:
      src - a char.
      name - a String object.
      page - a PDFPage object.
      advance - a Point2D object.
  • Method Details