Updated docs
There is still stuff to do
This commit is contained in:
18
docs/objects/Image/loadImage.md
Normal file
18
docs/objects/Image/loadImage.md
Normal file
@@ -0,0 +1,18 @@
|
||||
## loadImage
|
||||
loads a default .nfp file into the object.
|
||||
|
||||
#### Parameters:
|
||||
1. `string` the absolute file path
|
||||
|
||||
#### Returns:
|
||||
1. `object` The object in use
|
||||
|
||||
#### Usage:
|
||||
* Creates a default image and loads a test.nfp file
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame():show()
|
||||
local aImage = mainFrame:addImage():loadImage("test.nfp")
|
||||
```
|
||||
```xml
|
||||
<image path="test.nfp" />
|
||||
```
|
||||
Reference in New Issue
Block a user