lvglObject

fun lvglObject(parent: LvglObjectBase? = null, init: LvglObject.() -> Unit = {}): LvglObject

Create a LVGL object (a rectangle).

Return

The new LVGL object.

Parameters

parent

The parent object, or null to create a screen.

init

An initialization block that sets up the LVGL object.