deploy: d55a80dc0e
This commit is contained in:
37
docs/content/VisualElement.md
Normal file
37
docs/content/VisualElement.md
Normal file
@@ -0,0 +1,37 @@
|
||||
## VisualElement.new()
|
||||
@diagnostic disable-next-line: duplicate-set-field
|
||||
|
||||
## VisualElement:getAbsolutePosition(x?, y?)
|
||||
Returns the absolute position of the element or the given coordinates.
|
||||
|
||||
### Parameters
|
||||
* `x` *(optional)* `number` -- x position
|
||||
* `y` *(optional)* `number` -- y position
|
||||
|
||||
## VisualElement:getRelativePosition(x?, y?)
|
||||
Returns the relative position of the element or the given coordinates.
|
||||
|
||||
### Parameters
|
||||
* `x` *(optional)* `number` -- x position
|
||||
* `y` *(optional)* `number` -- y position
|
||||
|
||||
### Returns
|
||||
* `nil` `nil` nil
|
||||
|
||||
## VisualElement:handleEvent()
|
||||
|
||||
## VisualElement:isInBounds()
|
||||
|
||||
## VisualElement:mouse_click()
|
||||
|
||||
## VisualElement:mouse_release()
|
||||
|
||||
## VisualElement:mouse_up()
|
||||
|
||||
## VisualElement:multiBlit()
|
||||
|
||||
## VisualElement:render()
|
||||
@diagnostic disable-next-line: duplicate-set-field
|
||||
|
||||
## VisualElement:textFg()
|
||||
|
||||
Reference in New Issue
Block a user