public class PDFGlyph
extends java.lang.Object
Constructor and Description |
---|
PDFGlyph(char src,
java.lang.String name,
java.awt.geom.GeneralPath shape,
java.awt.geom.Point2D.Float advance)
Creates a new instance of PDFGlyph based on a shape
|
PDFGlyph(char src,
java.lang.String name,
PDFPage page,
java.awt.geom.Point2D advance)
Creates a new instance of PDFGlyph based on a page
|
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Point2D |
addCommands(PDFPage cmds,
java.awt.geom.AffineTransform transform,
int mode)
Add commands for this glyph to a page
|
char |
getChar()
Get the character code of this glyph
|
java.lang.String |
getName()
Get the name of this glyph
|
PDFPage |
getPage()
Get the PDFPage for a type3 font glyph
|
java.awt.geom.GeneralPath |
getShape()
Get the shape of this glyph
|
java.lang.String |
toString() |
public PDFGlyph(char src, java.lang.String name, java.awt.geom.GeneralPath shape, java.awt.geom.Point2D.Float advance)
public PDFGlyph(char src, java.lang.String name, PDFPage page, java.awt.geom.Point2D advance)
public char getChar()
public java.lang.String getName()
public java.awt.geom.GeneralPath getShape()
public PDFPage getPage()
public java.awt.geom.Point2D addCommands(PDFPage cmds, java.awt.geom.AffineTransform transform, int mode)
public java.lang.String toString()
toString
in class java.lang.Object