ui.Image
classSquare picture of a texture, such as an item image
Fields
| Name | Type | Description | |
|---|---|---|---|
| image | Texture | Texture drawn, an item image or a ui.thumbnail; nil draws nothing and keeps the space | |
| size | number | Side of the square in slate units | |
| color | string | Tint multiplied into the texture, same forms as ui.Text color | |
Inherited from ui.Widget (3)
Inherited from Object (5)
- name read-only Object name
- Object.find(name) Find an already loaded object by name
- Object.cast(object) Trying to cast Object into Object
- Object:get_class() Class of this object
- Object.get_class() Return Object class object