亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

HTML5 ?? Canvas? ?? ??? ??

Canvas? ??????

??? HTML ?? HTML5?? Canvas ??? ? ???? ???? ??? ? ?????. ? ?? ??? ??? HTML?? ??? ??? ?? ??? ? ??? ??? ?? ?? ??? ?????.

???? ?? ??? ??? ? ?? ???? ?????.

????? ??, ????, ?, ??? ??? ???? ???? ??? ??? ??? ??? ??? ??? ????.

??? ???????

<article>
<header>
<meta charset="utf-8">
</header>
    <canvas id="canvas" width="150" height="150"></canvas> 
    <script>
    var canvas = document.getElementById("canvas");
    var ctx = canvas.getContext("2d");
    ctx.fillStyle = "rgb(0,0,200)";
    ctx.fillRect(10, 10, 50, 50);
    </script> 
</article>

??????? ???? ???

??? ?? ?? ?? ?????

<article>
<header>
<meta charset="utf-8">
</header>
    <canvas id="myCanvas" width="200" height="100"></canvas> 
    <script>
        var c=document.getElementById("myCanvas");
        var cxt=c.getContext("2d");
        cxt.fillStyle="#FF0000";
        cxt.beginPath();
        cxt.arc(70,18,15,0,Math.PI*2,true);
        cxt.closePath();
        cxt.fill();
    </script> 
</article>
???? ??
||
<article> <header> <meta charset="utf-8"> </header> <canvas id="canvas" width="150" height="150"></canvas> <script> var canvas = document.getElementById("canvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "rgb(0,0,200)"; ctx.fillRect(10, 10, 50, 50); </script> </article>