Android Question DrawRect and Colors.Transparent incorrect

kiki78

Active Member
Licensed User
Longtime User
I have problem with DrawRect with Colors.Transparent.
Any transparent color construct with Colors.ARGB(A, R, G, B) with A = 0 and any of R, G or B <> 0 work fine, but with all 0 it draw black.

Best Regards,
 

kiki78

Active Member
Licensed User
Longtime User
Ok, so this is not a bug but a "by design".
So when I doesn't want this, I just need to test value before draw.

Thank you Erel.
 
Upvote 0
Top