Draw a hollow rectangle (bounding box)

Could you just use an lv_obj with a transparent background color and non-transparent border?