12-15-2010 03:38 AM
I'm wondering if there is a way to change the shape of a Bitmap, using a mask or something similar on it. Here's the problem:
i have a rectangle bitmap, and i need to round the corners so to obtain a rounded Bitmap (with transparent angles). Is there a way to do it?
In Android i can specify a shape to "cut" a bitmap...
Solved! Go to Solution.
12-15-2010 03:44 AM
Take a look at the DevCon 2010 session downloads. In particular sessions DEV18 through DEV21. In there you will find an update to the RIM AdvancedUI samples, which include using a bitmap mask to do exactly what you are asking.
07-11-2012 05:06 AM
Not that I am aware of and they are likely down now because they are usually only accessible for 1 year.
But most of the code made it into this KB article: