Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/doc/lua/openstarbound
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lua/openstarbound')
-rw-r--r--doc/lua/openstarbound/widget.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/lua/openstarbound/widget.md b/doc/lua/openstarbound/widget.md
index 4d97e9a..288c899 100644
--- a/doc/lua/openstarbound/widget.md
+++ b/doc/lua/openstarbound/widget.md
@@ -30,4 +30,18 @@ Gets the cursor position of a TextBoxWidget.
#### `void` widget.setCursorPosition(`String` widgetName, `int` cursorPosition)
-Sets the cursor position of a TextBoxWidget. \ No newline at end of file
+Sets the cursor position of a TextBoxWidget.
+
+---
+
+#### `void` widget.setImageStretchSet(`String` widgetName, `Json` imageStretchSet)
+
+Sets the full image set of a ImageStretchWidget.
+
+```
+{
+ begin = "image.png",
+ inner = "image.png",
+ end = "image.png"
+}
+```