//function?draw(){
var?ctx?=?document.getElementById("myCanvas5").getContext("2d");
????ctx.translate(200,20);
for?(var?i?=?1;?i?<?80;?i++){
ctx.save();
ctx.translate(30,30);
ctx.scale(0.9,0.88);
ctx.rotate(Math.PI*2);
ctx.beginPath();
ctx.fillStyle='red';
ctx.globalAlpha='0.5';?//顏色深淺
ctx.arc(0,0,50,0,Math.PI*2,true);
ctx.font?=?'bold?35px?blue';
ctx.fillText('我們來自同一個世界',30,100);
ctx.closePath();
ctx.fill();
}
//?window.onload?=?function(){
// draw();
}
//}
html之畫布Canvas圖像加注釋部分后不顯示,去掉后可以顯示,但不成螺型,為什么?
但我會繼續(xù)努力的
2016-03-12 01:05:13