natiny.font.destroy

Lua
natiny.font.destroy(font)

Destroys a font and releases its internal resources.

Parameters

Name Type Description
font number Font handle from natiny.font.create

Example

Lua
natiny.font.destroy(font)