lv_draw_mask_add() function
STATIC VARIABLES MACROS GLOBAL FUNCTIONS Add a draw mask. Everything drawn after it (until removing the mask) will be affected by the mask.
Arguments
param
an initialized mask parameter. Only the pointer is saved.
custom_id
a custom pointer to identify the mask. Used in `lv_draw_mask_remove_custom`.
Return value
the an integer, the ID of the mask. Can be used in `lv_draw_mask_remove_id`.