12-19-2013 02:23 AM - edited 12-19-2013 02:23 AM
I want to draw a tranparent circle/rectengle on my screen top of a bitmap image. and want to move it around the screen. How can i do this?
Please help me.
12-19-2013 07:56 AM - edited 12-19-2013 07:57 AM
The question is different but the ideas given in this Thread will also help you with this question.
There are more efficient options, but the easiest option is to make the Bitmap with the cutout huge, then just position it so the cutout is where you want it be, Then in paint, use drawImage to paint it over the top of your real image.
That gets you your cut out. To move it, you just need to paint the Bitmap in different places. If you want to animate this, then the code in here will help.