在html5 canavs上拖放图像 [英] drag and drop image on html5 canavs
本文介绍了在html5 canavs上拖放图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在点击按钮时将图像放置在html5画布上
并使其可拖动并且如果可能的话可以旋转
how to place an image on html5 canvas on click of a button
and make it drag able and if possible rotate able
推荐答案
关于html5拖放功能的好教程:
http ://www.w3schools.com/html/html5_draganddrop.asp [ ^ ]
和html5旋转方法:
http://www.w3schools.com/tags/canvas_rotate.asp [ ^ ]
A good tutorials on html5 drag and drop feature:
http://www.w3schools.com/html/html5_draganddrop.asp[^]
and html5 rotate method:
http://www.w3schools.com/tags/canvas_rotate.asp[^]
这篇关于在html5 canavs上拖放图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文