摘要:
生成[0,max]之间的随机数 parseInt(Math.random()*(max+1),10);Math.floor(Math.random()*(max+1)); 生成[1,max]之间的随机数 parseInt(Math.random()*(max)+1,10);Math.floor(Ma 阅读全文
posted @ 2016-01-08 17:08
全玉
阅读(267)
评论(0)
推荐(0)
摘要:
function fImageToCanvas(image){ var oCanvas = document.createElement("canvas"); oCanvas.width = image.width; oCanvas.height = image.height; oC... 阅读全文
posted @ 2016-01-08 16:32
全玉
阅读(231)
评论(0)
推荐(0)

浙公网安备 33010602011771号