seems that android 12 interpolates? pixels besides a drawn line. At least suddenly i got somehow a ghost remainer line, when clearing a previous written line on a canvas.
solution i made is simple:
drawing a line for example with thickness 3
(then x,y positions are saved thus next frame on the same start/end positions as previous written the vector, the vector is ereased with the default canvas color)
then clearing that same line with thickness 5
for me it looks like android interpolates the pixels besides the vector with a lower alpha.
this is my solution so far, may be someone has a better idea.
sorry i dont have a screenshot of this effect.
solution i made is simple:
drawing a line for example with thickness 3
B4X:
cvsGraph.DrawLine(Var.CenterX,0,Var.CenterX,20dip,VectorColor,3)
then clearing that same line with thickness 5
B4X:
cvsGraph.DrawLine(Var.CenterX,Var.CenterY,Var.OldPosX,Var.OldPosY,PnlPlotColor,5) '' old vector
for me it looks like android interpolates the pixels besides the vector with a lower alpha.
this is my solution so far, may be someone has a better idea.
sorry i dont have a screenshot of this effect.