Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
abhi007tyagi
Posts: 225
Registered: ‎09-29-2010
My Device: Limited Edition Z10, Playbook
My Carrier: Airtel
Accepted Solution

how to clear bitmap at selected point

Hi,

 

I have two bitmaps, bit1 and bit2 with bit2 overlapping bit1.

I want to know how I can clear a part of bit2 so that bit1 gets exposed in that area?

 

the area would be selected by user using touch.

 

this is exactly opposite of signature capture. Instaead of covering bitmap with our sign I want to have below bitmap exposed where we touch.

 

Thanks

Abhinav Tyagi

Blackberry Z10-Limited Edition
Blackberry Playbook (won in free playbook offer)
My Apps : pAinT, HealthMeter, Shoot
Please use plain text.
Developer
abhi007tyagi
Posts: 225
Registered: ‎09-29-2010
My Device: Limited Edition Z10, Playbook
My Carrier: Airtel

Re: how to clear bitmap at selected point

Please reply !

 

I want to know how can I make touched part of bitmap transparent !!!

By this way  background image will be visible in that area

 

Thanks

Abhinav Tyagi

Blackberry Z10-Limited Edition
Blackberry Playbook (won in free playbook offer)
My Apps : pAinT, HealthMeter, Shoot
Please use plain text.
Developer
abhi007tyagi
Posts: 225
Registered: ‎09-29-2010
My Device: Limited Edition Z10, Playbook
My Carrier: Airtel

Re: how to clear bitmap at selected point

It's done !!!

 

I did it myself

Blackberry Z10-Limited Edition
Blackberry Playbook (won in free playbook offer)
My Apps : pAinT, HealthMeter, Shoot
Please use plain text.
Developer
Dionysus
Posts: 152
Registered: ‎07-28-2011
My Device: Bold 9900
My Carrier: MTN

Re: how to clear bitmap at selected point

How about posting your solution for others that want to do the same thing?

Please use plain text.
Contributor
arjuna
Posts: 48
Registered: ‎04-07-2011
My Device: 9550
My Carrier: Desktop

Re: how to clear bitmap at selected point

Hi ,

 

 

I want that one now .

 

Please Send me that Sample Code

arjuna
Please use plain text.