I am trying to draw an overlay for the rounded corner of cards.
There is the rounded corners mode by drawing regular rectangles, but the cards are stored in images.
Is there a more efficient method in processing other than drawing a circle, replace the pixels with 0 alpha pixels and drawing the result image over the target? ( I mean I hope so )
Hi,
If you save your images with transparent background (so you round the corners in image edition tool) it should be displayed with rounded corner within processing too.
Can you show us your code and the image that you are using to see what’s not working?
One approach (if I understand your problem) is to draw a rounded rect to a mask layer, and use mask().