Image

This type represents an image control.

circle-info

This type inherits Control type. All of its base methods and fields are also available in this type.

__call

Constructor

Constructs the image.

Arguments

Name

Type

Description

id

ControlID|string

ID.

tex

Texture.

Returns

Type

Description

Image

Image instance.

Example

local img = gui.Image(id);

Last updated