lv_obj_get_style_opa_recursive() function
Get the `opa` style property from all parents and multiply and `>> 8` them.
Arguments
obj
the object whose opacity should be get
part
the part whose opacity should be get. Non-MAIN parts will consider the `opa` of the MAIN part too
Return value
the final opacity considering the parents' opacity too
lv_obj_get_style_opa_recursive() is called by 7 functions and calls 2 functions:
![]()
lv_obj_get_style_opa_recursive()
lv_obj_get_style_opa_recursive() reads 3 variables:
![]()
lv_obj_get_style_opa_recursive()