From d363239da8ab733915bb62ae4edbc0314ba3537f Mon Sep 17 00:00:00 2001 From: NoryiE Date: Mon, 10 Feb 2025 17:00:37 +0000 Subject: [PATCH] deploy: 6d59be221fa6e4f0c544e334af7e6c836d8264fc --- docs/references/VisualElement.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/references/VisualElement.md b/docs/references/VisualElement.md index a728a86..0174331 100644 --- a/docs/references/VisualElement.md +++ b/docs/references/VisualElement.md @@ -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