Page 1 of 1
Inner Shadow
Posted: 10 Nov 2022, 17:08
by DevFear
Hello. DropShadowEffect works great. However, for some elements it is necessary to create an inner shadow. Is there such a possibility in Noesis?
Re: Inner Shadow
Posted: 10 Nov 2022, 19:30
by jsantos
Could you put an example of what you want?
Re: Inner Shadow
Posted: 11 Nov 2022, 07:38
by DevFear
Sure. Here is an example from figma. The icon has an inner shadow. The image with the inner shadow can be downloaded in png format. But I'm working with geometry (an alternative to SVG) and trying to recreate this effect for Path.

Re: Inner Shadow
Posted: 14 Nov 2022, 16:40
by jsantos
We don't support vector effects, but if you have the geometry I think you could programmatically generate the inner and outer shadow geometry with Noesis.
Re: Inner Shadow
Posted: 14 Nov 2022, 16:53
by DevFear
It's not about the vector effect. For the "Path" element, I used "DropShadowEffect" to create an external shadow, which works fine. But it is difficult to make an internal shadow in pure WPF. I was wondering if you had an alternative, given that modern UI toolsets for the web support such a feature.
Re: Inner Shadow
Posted: 14 Nov 2022, 22:46
by jsantos
I created the following XamlToy just following
this article.
Maybe it helps.