rgarnett1955 Active Member Licensed User Longtime User Jul 21, 2020 #1 Hi I am using an image view in B4A and wish to change the alpha value of the image: B4X: Private imgClear As B4XView public Sub setToolBarAlpha(alphaArg As Int) imgClear.Alpha End Sub I found this link for b4J: Set alpha of an image Example code for B4J: Dim n As ImageView = AnyB4XView n.Alpha = 0.6 But when I try to do the same I find there is no method. Is it possible to change the alpha of the image for an image view? Best regards Rob
Hi I am using an image view in B4A and wish to change the alpha value of the image: B4X: Private imgClear As B4XView public Sub setToolBarAlpha(alphaArg As Int) imgClear.Alpha End Sub I found this link for b4J: Set alpha of an image Example code for B4J: Dim n As ImageView = AnyB4XView n.Alpha = 0.6 But when I try to do the same I find there is no method. Is it possible to change the alpha of the image for an image view? Best regards Rob
MarcoRome Expert Licensed User Longtime User Jul 21, 2020 #2 draw bitmap with alpha hi can i draw a bitmap via canvas with alpha 100 for example? thanx www.b4x.com Upvote 0
draw bitmap with alpha hi can i draw a bitmap via canvas with alpha 100 for example? thanx www.b4x.com