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

Native Development

Reply
Trusted Contributor
itcraps
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Make a certain part of Image/Bitmap transparent

[ Edited ]

hi, I know this is more of a question of logic rather than cascades, but i guess this is the best place to ask.

 

Let's say: I have an ImageView that shows an Image. I would like certain part (the part where the user touch) of it become transparant when users touch on it..

 

What should I look into to achieve that result?

 

Any thoughts? thanksss

 

 

 

www.jackdevora.com
Please use plain text.
Trusted Contributor
itcraps
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Re: Make a certain part of Image/Bitmap transparent

Anyone please? :smileyhappy:
www.jackdevora.com
Please use plain text.
New Developer
AverageCoder
Posts: 21
Registered: ‎05-04-2012
My Device: Playbook
My Carrier: Vodaphone

Re: Make a certain part of Image/Bitmap transparent

I would look into open gl, and I would fake the trasparancy, take the background and render it to a "mask" ontop of the screen

Please use plain text.
Trusted Contributor
itcraps
Posts: 238
Registered: ‎12-26-2010
My Device: BlackBerry Z10
My Carrier: Telus

Re: Make a certain part of Image/Bitmap transparent

Thanks for the suggestion, but I need to save the file into a png..

Any other suggestion? Thanks
www.jackdevora.com
Please use plain text.