403 B
403 B
setImage
Sets a new image
Parameter:
tableA table in bimg or nfp format.stringThe format in which the image should be loaded (nfp or bimg)
Usage:
- Creates a default image and loads a test.nfp file
local mainFrame = basalt.createFrame()
local bimg = {
[1] = {
{"Hello", "fffff", "33333"}
}
}
local aImage = mainFrame:addImage():setImage(bimg)