fillRect(px,py,x,y); //参数px,py是从画布左上角开始的坐标,x,y就是长和宽。有一篇翻译的文章很不错: https://developer.mozilla.org/zh-CN/docs/Canvas_tutorial/Using_images New Docu... Read More
posted @ 2012-08-10 11:08 lein.wang Views(154) Comments(0) Diggs(0) Edit