Hello,
i draw a line with this code:
And save the line in a B4XPath.
how can i remove this line with the help of the B4XPath?
i draw a line with this code:
B4X:
If Action = xpnl_base.TOUCH_ACTION_DOWN Then
g_y = y
g_x = x
xpath_main.Initialize(X,Y)
Else if Action = xpnl_base.TOUCH_ACTION_MOVE Then
xcv_main.DrawLine(X, Y, g_x, g_y, xui.Color_Red,5)
xpath_main.LineTo(x,y)
g_x = X
g_y = Y
xcv_main.Invalidate
End If
how can i remove this line with the help of the B4XPath?