开发者

I want to draw a line in canvas dont know which event i should use?

I want to draw a line in canvas I want to click on a particular area and then drag to ending area to draw line between starting and ending cordinates I am not sure which event i should be using. I will first click on a particul开发者_如何学Car location in canvas and then drag my mouse to the ending location. To which i need the line to be drawn. Can anybody please suggest.


I am sure you can figure it out having a look here: http://www.webtoolkit.info/javascript-drag-and-drop.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜