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 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.