Accidentally uploaded outdated 1.6 docs
This commit is contained in:
Robert Jelic
2023-05-01 16:28:46 +02:00
parent 92b93a3862
commit d4c72514ef
265 changed files with 25608 additions and 3867 deletions

View File

@@ -0,0 +1,31 @@
# Object
## setShadow
Sets the shadow color - default: false
### Parameters
1. `number|color` Shadow color
#### Returns
1. `object` The object in use
#### Usage
* Sets the shadow to green and shows it:
```lua
local mainFrame = basalt.createFrame()
local subFrame = mainFrame:addFrame()
:setMovable()
:setSize(18,6)
:setShadow(colors.green)
```
Or:
```xml
<frame width="18" height="6" shadowColor="green" movable="true" />
```