Font
Inherits from
Usage
To use this class, add the following require at the top of your script:
local Font = require 'engine/items/font'
Reference
-
class Font
- module:
-
create(attributes)
Create a new font
- Parameters:
attributes (table
) – list of attributes. without, the font will be created with default values
- Returns:
the created font
- Return type:
Font
Examples