Hi
The draw line (and text) do not accept
The work around is
The draw line (and text) do not accept
norColors.Transparent
. See image attached.ARGB (0,0,0,0)
B4X:
Dim Can As Canvas
Can.Initialize(PanelMain)
Can.DrawColor(Colors.White)
Can.DrawLine(10dip,10dip,100dip,10dip,Colors.Transparent,2dip)
Can.DrawLine(10dip,25dip,100dip,25dip,Colors.ARGB(0,0,0,0),2dip)
Can.DrawLine(10dip,40dip,100dip,40dip,Colors.ARGB(0,0,0,1),2dip)
Can.DrawLine(10dip,55dip,100dip,55dip,Colors.Black,2dip)
Can.DrawText("Transparent",110dip, 10dip,Typeface.DEFAULT,12,Colors.Magenta,"LEFT")
Can.DrawText("Black Transparent",110dip, 25dip,Typeface.DEFAULT,12,Colors.Magenta,"LEFT")
Can.DrawText("Transparent",110dip, 40dip,Typeface.DEFAULT,12,Colors.Magenta,"LEFT")
Can.DrawText("Not Transparent",110dip, 55dip,Typeface.DEFAULT,12,Colors.Magenta,"LEFT")
Can.DrawLine(10dip,40dip,100dip,40dip,Colors.ARGB(0,0,0,1),2dip)