class documentation
A loading class with spinner animation.
| Method | __del__ |
Clean up resources and deinitialize LVGL. |
| Method | __init__ |
Initialize the Loading spinner with drawing context and styling. |
| Method | animate |
Animate the loading spinner. |
| Method | fade |
Fade a color by applying an opacity value. |
| Method | set |
Set the loading text. |
| Method | stop |
Stop the loading animation. |
| Method | text |
Set the current loading text. |
| Instance Variable | animating |
Undocumented |
| Instance Variable | background |
Undocumented |
| Instance Variable | current |
Undocumented |
| Instance Variable | display |
Undocumented |
| Instance Variable | rad |
Undocumented |
| Instance Variable | radius |
Undocumented |
| Instance Variable | span |
Undocumented |
| Instance Variable | spinner |
Undocumented |
| Instance Variable | spinner |
Undocumented |
| Instance Variable | step |
Undocumented |
| Instance Variable | text |
Undocumented |
| Instance Variable | text |
Undocumented |
| Instance Variable | time |
Undocumented |
| Instance Variable | time |
Undocumented |
| Instance Variable | twenty |
Undocumented |
| Instance Variable | use |
Undocumented |
| Property | text |
Get the current loading text. |
| Instance Variable | _lvgl |
Undocumented |
Initialize the Loading spinner with drawing context and styling.
| Parameters | |
draw:Draw | The drawing context to render the loading spinner. |
spinnerint | The color of the spinner. Defaults to 0xFFFF. |
backgroundint | The background color. Defaults to 0x0000. |
Animate the loading spinner.
| Parameters | |
swap:bool | Whether to swap the display buffer. Defaults to True. |
| http | Optional HTTP client for download progress display. Defaults to None. |
Fade a color by applying an opacity value.
| Parameters | |
color:int | The RGB565 color to fade. |
opacity:int | The opacity from 0 to 255. |
| Returns | |
int | The faded RGB565 color. |