|
FabGL
ESP32 Display Controller and Graphics Library
|
| fabgl::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.
| parent | The parent window. An image must always have a parent window |
| bitmap | Bitmap to display |
| pos | Top-left coordinates of the image relative to the parent |
| size | The image size. If Size(0, 0) then size is automatically calculated |
| visible | If true the image is immediately visible |
| styleClassID | Optional style class identifier |