FabGL
ESP32 Display Controller and Graphics Library

◆ uiImage()

uiImage ( uiWindow parent,
Bitmap const *  bitmap,
const Point pos,
const Size size = Size(0, 0),
bool  visible = true,
uint32_t  styleClassID = 0 
)

Creates an instance of the object.

Parameters
parentThe parent window. An image must always have a parent window
bitmapBitmap to display
posTop-left coordinates of the image relative to the parent
sizeThe image size. If Size(0, 0) then size is automatically calculated
visibleIf true the image is immediately visible
styleClassIDOptional style class identifier

Definition at line 3375 of file fabui.cpp.