Lua:createFont
Jump to navigation
Jump to search
Creates a Font object initialized from Cheat Engine's main window font.
Assign the returned object to a control's Font property or change its properties before assigning it.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| None | — | This function does not take parameters. |
Returns[edit]
Font — A new font object.
Examples[edit]
1 local font = createFont()
2 font.Name = "Consolas"
3 font.Size = 12