lv_arclabel_private.h

struct _lv_arclabel_t

Public Members

lv_obj_t obj
char *text
char dot[3 + 1]

Bytes that have been replaced with dots

uint32_t dot_begin

Offset where bytes have been replaced with dots

lv_value_precise_t angle_start

The starting angle of the arc in degrees.

This variable represents the beginning of the arc's angular range in terms of degrees. It is used in conjunction with angle_size to define the section of the circle that the arc covers. Values are normalized to the range [0, 360), ensuring compatibility with circular representations.

Modifying this value affects the visual rendering of the arc and its associated indicators or labels, necessitating a subsequent invalidation or update of the object's display to reflect the changes.

Note

When setting this value programmatically, ensure it does not exceed 360 degrees, as it will be automatically adjusted to fit within the valid range.

lv_value_precise_t angle_size
uint32_t offset
uint32_t radius
lv_point_t center_offset
lv_arclabel_dir_t dir
lv_arclabel_text_align_t text_align_v

Vertical text alignment

lv_arclabel_text_align_t text_align_h

Horizontal text alignment

uint8_t static_txt

Flag to indicate the text is static

uint8_t recolor

Enable in-line letter re-coloring