The answer is probably no, as the mask commands accepts only an image path, but is there any workaround to use a rounded rectangle as a mask without creating an image file?
Thanks in advance.
The answer is probably no, as the mask commands accepts only an image path, but is there any workaround to use a rounded rectangle as a mask without creating an image file?
Thanks in advance.
Lerg put together a blogpost with some tips on how to create dynamic masks. I think this might be the functionality you are looking for:
http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-35/
Thanks!
It’s a clever trick, but my problem is with rounded rectangles. If I change the aspect ratio of the image, that distorts the mask too much
Lerg put together a blogpost with some tips on how to create dynamic masks. I think this might be the functionality you are looking for:
http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-35/
Thanks!
It’s a clever trick, but my problem is with rounded rectangles. If I change the aspect ratio of the image, that distorts the mask too much