help to draw line

selvamurali

Active Member
Licensed User
Longtime User
hi all

i need to draw a line on image .

but the line draw starting from cursor down point to release point.
 

selvamurali

Active Member
Licensed User
Longtime User
got it

Sub Panel1_Touch(Action As Int, X As Float, Y As Float)
picCanvas.DrawLine(X,Y,100,Y,Colors.Red,2dip)
Activity.Invalidate

End Sub

i got what i want.

user press cursor and drag over the image when cursor release the line draw between the points.
 
Upvote 0
Top