Files
Basalt/docs/objects/Image/loadImage.md
Robert Jelic 51f6ebe7ce docs updates
2022-09-06 17:43:03 +02:00

365 B

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
local mainFrame = basalt.createFrame()
local aImage = mainFrame:addImage():loadImage("test.nfp")
<image path="test.nfp" />