FabGL
ESP32 Display Controller and Graphics Library
|
uiLabel | ( | uiWindow * | parent, |
char const * | text, | ||
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. A label must always have a parent window |
text | Text of the label |
pos | Top-left coordinates of the label relative to the parent |
size | The label size. If Size(0, 0) then size is automatically calculated |
visible | If true the label is immediately visible |
styleClassID | Optional style class identifier |