Re: Layers and shadows. Is it possible to have a layer with a shadow and no background color?


Alex Zavatone
 

Well, it was worth a shot. The shadow is barely visible even if I use a shadowOpacity of 1.

On Jun 23, 2021, at 6:47 PM, Steve Mills via groups.io <sjmills=mac.com@groups.io> wrote:

On Jun 23, 2021, at 12:42, Alex Zavatone via groups.io <zav=mac.com@groups.io> wrote:

What I’ve been doing is duplicating the layer, a task unto itself, adding the layer on top of or behind the previous layer and then getting a shadow that way. It’s not perfect but it’s currently the least bad approach I’ve been able to find.

Our graphic designers will detect a .01 shade change.


What about using black or white at a very low alpha, like .01%?
I said .01%, not 1%. I doubt the naked eye will detect that little of a change.

Steve via iPad





Join cocoa@apple-dev.groups.io to automatically receive all group messages.