PanelImageSpec
A value shape that methods take or return.
Fields
| Field | Type | Description |
|---|---|---|
sprite | number? | A sprite archive group, as spriteManager:getSprite(sprite, file). |
file | number? | The frame of sprite. Default 0. |
item | number? | An item's icon, as itemManager:getImage(item, quantity, ...). |
quantity | number? | The item icon's quantity. |
noted | boolean? | The item icon noted. |
border | number? | The item icon's border. |
shadow | Color? | The item icon's shadow colour. |
stackMode | number? | The item icon's quantity mode (ItemQuantityMode). |
spell | string? | A spellbook icon by its name ("HIGH_LEVEL_ALCHEMY"). |
widget | number? | A widget's sprite, by its packed id. |
argb | { Color }? | Pixels, row-major (BufferedImage#setRGB's), width by height. |
width | number? | The width of argb's image. |
height | number? | The height of argb's image. |
id | string? | Which argb image this is: one texture, rewritten as it changes. |
key | string? | Which version of argb's pixels: they are read only when it changes. |