Package com.xebisco.yield.manager
Interface FontManager
public interface FontManager
The
FontManager interface provides methods to load and unload fonts.-
Method Summary
Modifier and TypeMethodDescriptionloadFont(Font font, FileIOManager ioManager) The function loads a font object.voidunloadFont(Font font, FileIOManager ioManager) The function unloads a specified font.
-
Method Details
-
loadFont
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
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.
-