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

Posts: 57
Registered: ‎04-07-2009
My Device: 8300

Transparent Drawing Issue

I want to draw some transparent filled paths. For this I used to setGlobalAlpha() method and set an alpha value. But when two transparent shaped region overlaps the region become more darker, i.e. the opaqueness is increasing. I want uniform transparency even where two shape overlaps. How to do this? Please help.


Thanks in advance.

Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Transparent Drawing Issue

What is the purpose of drawing a transparent filled path? Why not draw anything. I don't think there is a way around this as even when drawing PNG images with a transparent background the transparent part makes the background color slightly darker. I think this is an issue with the alpha blending of the OS itself.