Package org.openpdf.renderer.font
Class PDFGlyph
java.lang.Object
org.openpdf.renderer.font.PDFGlyph
A single glyph in a stream of PDF text, which knows how to write itself
onto a PDF command stream
-
Constructor Summary
ConstructorsConstructorDescriptionPDFGlyph(char src, String name, GeneralPath shape, Point2D.Float advance) Creates a new instance of PDFGlyph based on a shapeCreates a new instance of PDFGlyph based on a page -
Method Summary
Modifier and TypeMethodDescriptionaddCommands(PDFPage cmds, AffineTransform transform, int mode) Add commands for this glyph to a pagechargetChar()Get the character code of this glyphgetName()Get the name of this glyphgetPage()Get the PDFPage for a type3 font glyphgetShape()Get the shape of this glyphtoString()
-
Constructor Details
-
PDFGlyph
Creates a new instance of PDFGlyph based on a shape -
PDFGlyph
Creates a new instance of PDFGlyph based on a page
-
-
Method Details