This type represents an image control.
This type inherits control type. All of its base methods and fields are also available in this type.
control
Constructor
Constructs the image.
Arguments
Name
Type
Description
id
control_id
ID.
tex
texture
Texture.
Returns
image
Image instance.
Example
local img = gui.image(gui.control_id('my_id'));
Last updated 1 year ago