Package org.apache.pdfbox.rendering
Interface Glyph2D
-
- All Known Implementing Classes:
CIDType0Glyph2D
,TTFGlyph2D
,Type1Glyph2D
interface Glyph2D
This interface is implemented by several font specific classes which is called to get the general path of a single glyph of the represented font most likely to render it.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Remove all cached resources.java.awt.geom.GeneralPath
getPathForCharacterCode(int code)
Returns the path describing the glyph for the given character code.
-
-
-
Method Detail
-
getPathForCharacterCode
java.awt.geom.GeneralPath getPathForCharacterCode(int code) throws java.io.IOException
Returns the path describing the glyph for the given character code.- Parameters:
code
- the character code- Returns:
- the GeneralPath for the given character code
- Throws:
java.io.IOException
-
dispose
void dispose()
Remove all cached resources.
-
-