This means that what you draw has an internal space for viewing the shadow. I also assume that you do not want the shadow to appear outside of what you are painting.
So, clip on the outline of what you draw, and then draw with the shadow as usual.
source
share