CheckFont
Jump to navigation
Jump to search
bool CheckFont (str fontname);
Usage
Checks to see if the font passed to it is a valid font or not. Any type of font or graphic usable by SetFont will be considered valid here as well.
Parameters
- fontname: The name of the font to check.
Return Value
Returns the true if the font is valid, otherwise it returns false.
Example
Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated. |