Joined February 2013

Mostafa Gazar

Alexandria, Egypt

You can use an image as a mask by:
1- Create new class BitmapMaskedImageView extends BaseImageView and load the image mask you want in getBitmap(int width, int height),
2- Read the image file in getMask line: 175 in the attached gist,

The edges would look rougher most probably so svg or simple canvas draw methods might be a better option.

You can use Inkscape which is an opensource software for desktops to create/edit svg files.

306 Karma
24,314 Total ProTip Views