Files
Basalt2/docs/references/elements/Display.md
2025-03-14 02:52:23 +00:00

25 lines
613 B
Markdown

# Display : VisualElement
The Display is a special element where you can use the window (term) API to draw on a element, useful when you need to use external APIs.
## Functions
|Method|Returns|Description|
|---|---|---|
|[Display:getWindow](#Display:getWindow)|table|Returns the current window object
## Protected Functions
|Method|Returns|Description|
|---|---|---|
|[Display:init](#Display:init)|-|Initializes the Display instance
|[Display:render](#Display:render)|-|Renders the Display
## Display:getWindow()
Returns the current window object
### Returns
* `table` `window` The current window object