For i = 0 To 127
#if b4a
'B4A under android: byte order is (R, G, B, A)
LinePixels(i) = bc.IntsFromBytes(Array As Byte(i, 0, 0, 255))(0)
#else
'B4J under windows: byte order is (B, G, R, A)
LinePixels(i) = bc.IntsFromBytes(Array As Byte(0, 0, i, 255))(0)
#end if
Next