在两点之间画一条线 [英] drawing a line between two points
本文介绍了在两点之间画一条线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
当用户按下鼠标左键并将其拖动到其他位置并释放它时如何绘制线条...
上面的场景对于将左radlistview项与其他listview项进行匹配非常有用...而且我需要给出两者之间的路径(线),才能知道哪个已与哪个进行了匹配? ...任何建议...
在此先感谢
darshan
Hi all,
how to draw the line when a user presses the left mouse button, drags it to somewhere else and release it......
The above scenario is useful for matching left radlistview item with the other listview item...and i need to give the path(line) between the two ,to know which has been matched to which?? ... any suggestions frens...
Thanks in advance
darshan
推荐答案
请参阅以下链接,这可能对您有所帮助.
http: //stackstackflow.com/questions/3571413/click-two-new-points-and-draw-a-line-the-those-two-points-using-mouse-event [
Hi,
See the below links, It might be helpful to you.
http://stackoverflow.com/questions/3571413/click-two-new-points-and-draw-a-line-between-those-two-points-using-mouse-event[^]
Thanks,
Viprat
这篇关于在两点之间画一条线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文