This commit is contained in:
NoryiE
2025-09-14 10:11:36 +00:00
parent 9c7186011b
commit 056b0ef795
32 changed files with 1 additions and 1314 deletions

View File

@@ -15,25 +15,7 @@ Extends: `VisualElement`
|Method|Returns|Description|
|---|---|---|
|[Label.new](#label-new)|Label|Creates a new Label instance|
|[Label:init](#label-init-props-basalt)|Label|Initializes the Label instance|
|[Label:getWrappedText](#label-getwrappedtext)|table|Gets the wrapped lines of the Label|
|[Label:render](#label-render)|-|Renders the Label by drawing its text content|
## Label.new()
Creates a new Label instance
### Returns
* `Label` `self` The newly created Label instance
## Label:init(props, basalt)
### Parameters
* `props` `table` The properties to initialize the element with
* `basalt` `table` The basalt instance
### Returns
* `Label` `self` The initialized instance
## Label:getWrappedText()
@@ -41,5 +23,3 @@ Gets the wrapped lines of the Label
### Returns
* `table` `wrappedText` The wrapped lines of the Label
## Label:render()