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 Type
    Method
    Description
    void
    Remove all cached resources.
    Returns the path describing the glyph for the given character code.
  • Method Details

    • getPathForCharacterCode

      GeneralPath getPathForCharacterCode(int code) throws 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:
      IOException
    • dispose

      void dispose()
      Remove all cached resources.