DevFear
Topic Author
Posts: 26
Joined: 29 Jun 2022, 12:36

Inner Shadow

10 Nov 2022, 17:08

Hello. DropShadowEffect works great. However, for some elements it is necessary to create an inner shadow. Is there such a possibility in Noesis?
 
User avatar
jsantos
Site Admin
Posts: 3594
Joined: 20 Jan 2012, 17:18
Contact:

Re: Inner Shadow

10 Nov 2022, 19:30

Could you put an example of what you want?
 
DevFear
Topic Author
Posts: 26
Joined: 29 Jun 2022, 12:36

Re: Inner Shadow

11 Nov 2022, 07:38

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.
Image
 
User avatar
jsantos
Site Admin
Posts: 3594
Joined: 20 Jan 2012, 17:18
Contact:

Re: Inner Shadow

14 Nov 2022, 16:40

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.
 
DevFear
Topic Author
Posts: 26
Joined: 29 Jun 2022, 12:36

Re: Inner Shadow

14 Nov 2022, 16:53

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.
 
User avatar
jsantos
Site Admin
Posts: 3594
Joined: 20 Jan 2012, 17:18
Contact:

Re: Inner Shadow

14 Nov 2022, 22:46

I created the following XamlToy just following this article.



Maybe it helps.

Who is online

Users browsing this forum: Ahrefs [Bot] and 2 guests