Module ui.widget.imagewidget

ImageWidget shows an image from a file or memory

Show image from file example:

    file = "resources/info-i.png",
    -- Make sure alpha is set to true if png has transparent background
    -- alpha = true,

Show image from memory example:

    -- bitmap_buffer should be a block of memory that holds the raw
    -- uncompressed bitmap.

image = bitmap_buffer,

generated by LDoc 1.4.6 Last updated 2017-10-08 14:57:40