390 B
390 B
loadImage
This method is used to load an image file into the image object.
Parameters:
paththe absolute file path
Returns:
objectThe object in use
Usage:
- Creates a default image and loads a test.nfp file
local mainFrame = basalt.createFrame()
local aImage = mainFrame:addImage():loadImage("test.nfp")
<image path="test.nfp" />