findFontByName
Script::findFontByName
Returns the font associated with the name.
Declaration
Font* findFontByName(const std::string& fontName);
Parameters
Name |
Type |
Description |
---|---|---|
fontName |
const std::string& |
The name of the Font. |
Returns
A pointer to a Font if the name is associated with a font, else, returns nullptr
.