The color of the shadow is determined by shadowColor. The opacity of the shadow color is multiplied by the opacity of the shadowed object’s brush. So, for example, if you have a Panel with a GraphObject.background that is “transparent”, the shadow that is drawn for the panel will also be transparent.
What can I do if my Adornment is of this size of main panel (red background just for debug) and its background must be transparent.
But I need this area to make tooltip stay if user moves mouse off the place which actually calles tooltip?
Dont want to tell my designers that I cant add a shadow on a tooltip :)
It looks very odd to have a shadow extend an empty area – people do not expect something invisible to cast a shadow. That’s why the shadow transparency is proportional to the transparency of the shadowed object.
Don’t set shadowVisible on the outer panel and just have the shadow be on the object(s) that are really seen by the user, by setting shadowVisible to true on those object(s).