摘要:
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
阅读(5312)
评论(0)
推荐(0)

浙公网安备 33010602011771号