Then it would take the alpha channel of this image and then it would be applied to the original image, resulting in something that looks like our devforum avatars.
Another instance where this might be useful is with a map display. Perhaps you want the map to have a certain shape while it is dynamically cropped using ImageRectSize and ImageRectOffset. With an AlphaMask, you could accomplish this.
These are just a few examples I could think of, I have no doubt others would find really creative ways to utilize this.
Isn’t this pretty much “ClipDescendants” property for the “Frame” UI elements? Except this would apply to custom or pre-made shapes? Sounds interesting
I’m pretty sure what @buildthomas is suggesting is that the actual clipping is not done with clip descendants. What it looks like is an overlay with a shape cut out from the middle, and that overlay is the same color as the background.
I know I’m bumping this really late, but I find it painful uploading overlay images to achieve this effect. What if I want a completely transparent background? That isn’t possible.
Also, adding this feature would speed up loading times because clients wouldn’t have to download my 1400 pseudo-alpha masks. It’d speed up my time too, not having to make the overlays in external software.