The BindTextLabel class represents a text label UI element for use with BindCanvas.
Definition BindTextLabel.hpp:30
int32_t color
Text color for the text label.
Definition BindTextLabel.hpp:74
uint16_t getBytes(uint8_t *out) override
Retrieves the bytes representing the text label for synchronization.
Definition BindTextLabel.hpp:84
int16_t y
Y-coordinate position of the text label.
Definition BindTextLabel.hpp:71
int16_t fontSize
Font size for the text label.
Definition BindTextLabel.hpp:73
uint8_t cmdId
Command ID for the text label. See the notes for possible cmdId values.
Definition BindTextLabel.hpp:72
BindTextLabel()
Constructs a BindTextLabel with a default label.
Definition BindTextLabel.hpp:49
int16_t x
X-coordinate position of the text label.
Definition BindTextLabel.hpp:70
void setLabel(const char *cstr)
Sets the label text for the text label.
Definition BindTextLabel.hpp:65