06 2012 档案

摘要:HTML5 canvas的事件<script> var canvas = document.getElementById("myCanvas"); var context = canvas.getContext("2d"); context.strokeStyle = "black"; context.fillStyle = "red"; context.rect(0, 0, 300, 400); context.fill();canvas.onmousedown = function() {conso 阅读全文
posted @ 2012-06-19 12:12 rhino 阅读(5299) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示