M MikieK Member Licensed User Longtime User Dec 12, 2011 #1 Is it possible to change the alpha value (transparency) of a bitmap, without using get/setpixel?
M MikieK Member Licensed User Longtime User Dec 12, 2011 #2 I understand that it is possible to use setalpha(Value as int) on a Bitmapdrawable, how would I achieve this using the reflection library? Upvote 0
I understand that it is possible to use setalpha(Value as int) on a Bitmapdrawable, how would I achieve this using the reflection library?
klaus Expert Licensed User Longtime User Dec 12, 2011 #3 This code does work: B4X: Dim obj1 As Reflector obj1.Target = Panel1.Background obj1.RunMethod2("setAlpha", 128, "java.lang.int") Best regards. Upvote 0
This code does work: B4X: Dim obj1 As Reflector obj1.Target = Panel1.Background obj1.RunMethod2("setAlpha", 128, "java.lang.int") Best regards.