HTML5 Canvas Draw a Line 정보
HTML HTML5 Canvas Draw a Line본문
HTML5 Canvas Draw a Line
Draw a Line
Example
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.moveTo(0,0);
ctx.lineTo(200,100);
ctx.stroke();
추천
0
0
댓글 0개