Updated some formatting
Updated formatting for object
This commit is contained in:
@@ -1,14 +1,21 @@
|
||||
# Object
|
||||
|
||||
## setShadow
|
||||
|
||||
Sets the shadow color - default: false
|
||||
|
||||
#### Parameters:
|
||||
### Parameters
|
||||
|
||||
1. `number|color` Shadow color
|
||||
|
||||
#### Returns:
|
||||
#### Returns
|
||||
|
||||
1. `object` The object in use
|
||||
|
||||
#### Usage:
|
||||
#### Usage
|
||||
|
||||
* Sets the shadow to green and shows it:
|
||||
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local subFrame = mainFrame:addFrame()
|
||||
@@ -16,7 +23,9 @@ local subFrame = mainFrame:addFrame()
|
||||
:setSize(18,6)
|
||||
:setShadow(colors.green)
|
||||
```
|
||||
Or:
|
||||
|
||||
Or:
|
||||
|
||||
```xml
|
||||
<frame width="18" height="6" shadowColor="green" movable="true" />
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user