mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-08 10:23:34 +08:00
20 lines
281 B
Markdown
20 lines
281 B
Markdown
|
# Class: text
|
||
|
|
||
|
## Inherit from 1 class: base_text_element
|
||
|
|
||
|
Class representing an imgui text element.
|
||
|
|
||
|
## Functions (1)
|
||
|
|
||
|
### `set_font(font)`
|
||
|
|
||
|
- **Parameters:**
|
||
|
- `font` (string): The new font name for that imgui text element.
|
||
|
|
||
|
**Exemple Usage:**
|
||
|
```lua
|
||
|
text:set_font(font)
|
||
|
```
|
||
|
|
||
|
|