Method XbpFont():destroy() Foundation
Unloads the font and releases the memory used by the font.
Syntax
:destroy() --> self
Return
This method returns the object executing the method (self).
Description
The :destroy() method removes a loaded font from memory. It is the counterpart of the :create() method and is analogous to closing a file. This method can be executed to explicitly release system resources.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.