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
Modifier and TypeMethodDescriptionvoid
dispose()
Remove all cached resources.getPathForCharacterCode
(int code) Returns the path describing the glyph for the given character code.
-
Method Details
-
getPathForCharacterCode
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:
IOException
-
dispose
void dispose()Remove all cached resources.
-