This commit is contained in:
NoryiE
2025-02-10 17:00:37 +00:00
parent 50a18438c7
commit d363239da8

View File

@@ -102,7 +102,12 @@ Draws a text character/fg/bg at the specified position with a certain size, used
* `bg` `color` The background color
## VisualElement:render()
@diagnostic disable-next-line: duplicate-set-field
Renders the element
### Usage
```lua
element:render()
```
## VisualElement:textFg(x, y, text, fg)
Draws a text character at the specified position, used in the rendering system