Interface FontManager


public interface FontManager
The FontManager interface provides methods to load and unload fonts.
  • Method Details

    • loadFont

      Object loadFont(Font font, FileIOManager ioManager)
      The function loads a font object.
      Parameters:
      font - The "font" parameter in the "loadFont" method is the font that you want to load.
      ioManager - The ioManager used to load the font file.
    • unloadFont

      void unloadFont(Font font, FileIOManager ioManager)
      The function unloads a specified font.
      Parameters:
      font - The parameter "font" is a variable of type "Font" that represents a font loaded in memory. This function "unloadFont" is used to release the memory allocated for the font and free up resources used by the font.
      ioManager - The ioManager used to unload the font file.