第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

實(shí)在是不知道哪錯(cuò)了。。。

<!DOCTYPE?html>
<html>
<head?lang="en">
????<meta?charset="UTF-8">
????<title>繪制弧形和圓</title>
</head>
<body>
<canvas?id="canvas"style="border:?1px?solid?black;display:?block;margin:50px?auto;">
????如果您看到這句話,證明您的瀏覽器不支持canvas
</canvas>
<script>
????????window.onload?=?function?()?{
????????????var?canvas?=?document.getElementById('canvas');
????????????canvas.width?=?1024;
????????????canvas.height?=?768;
????????????var?context?=?canvas.getContext('2d');
????????????context.lineWidth?=?5;
????????????context.strokeStyle="blue";
????????????context.arc?=?(300?,?300?,?200?,?0?,??1.5*Math.PI?);
????????????context.stroke()
????}
</script>
</body>
</html>

怎么就是顯示不出來(lái)呢,跟著老師一起敲的呀。。。


正在回答

2 回答

http://img1.sycdn.imooc.com//55af05f1000106ef05280212.jpg你的arc方法寫錯(cuò)了,應(yīng)該是context.arc(100,100,0,1.5*Math.PI,false) 而不是arc = (....)

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Adorrable壇子 提問者

非常感謝!
2015-07-22 回復(fù) 有任何疑惑可以回復(fù)我~

大哥,你給人家指出錯(cuò)誤自己又報(bào)錯(cuò)啦,你上面少寫了圓的半徑呢!

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

實(shí)在是不知道哪錯(cuò)了。。。

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)