Hi,
not sure if this was ever asked or maybe answered, could not find anything in the forum.....
is there a way get a continuous fading of the color in the DrawRect method ?
THX
not sure if this was ever asked or maybe answered, could not find anything in the forum.....
is there a way get a continuous fading of the color in the DrawRect method ?
B4X:
Dim pnl As Panel
Dim cvs As Canvas
pnl = GetPanel(SelectedPanel)
cvs.Initialize(pnl)
cvs.DrawRect(SelectedRect, tool.ParseColor("#"&SelectorColor), False, imgBorder)
'color should fade from red to green back to red continuous, no idea how :(
Activity.Invalidate2(SelectedRect)
THX