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