HTML5 캔버스 getContext()

1 개요[ | ]

HTML5 캔버스 getContext()
var canvas = document.getElementById("MyCanvas");
var ctx = canvas.getContext("webgl", { antialias: false, depth: false });
var canvas = document.getElementById("MyCanvas");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "blue";
ctx.fillRect(0, 0, canvas.width, canvas.height);

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}