How to implement inner shadow for a widget?
- Running on the sim.
- Using LVGL 7.4.0
I wish to create an inner shadow for an object (see image below).
Essentially, the ability to perform normal shadow styling on the interior path of an object. Having read the docs and wiki posts there doesn’t appear to be support for this but maybe there’s a “trick” that could be used.
What have you tried so far?
I did try to set the
shadow_width/spread to a negative value with no success.
I do not wish to use an image since I will be drawing on the inner region.