|
kodi
|
**Used to show an image. More...
|
Classes | |
| class | XBMCAddon::xbmcgui::ControlImage |
**Used to show an image.
**
{ ControlImage(x, y, width, height, filename[, aspectRatio, colorDiffuse]) }
The image control is used for displaying images in Kodi. You can choose the position, size, transparency and contents of the image to be displayed.
| x | integer - x coordinate of control. |
| y | integer - y coordinate of control. |
| width | integer - width of control. |
| height | integer - height of control. |
| filename | string - image filename. |
| aspectRatio | [opt] integer - (values 0 = stretch (default), 1 = scale up (crops), 2 = scale down (black bar) |
| colorDiffuse | hexString - (example, '0xC0FF0000' (red tint)) |
Example:
1.8.13