365 B
365 B
loadImage
loads a default .nfp file into the object.
Parameters:
stringthe 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" />