Skip to content
Snippets Groups Projects
Commit 149d403f authored by kyk1047715's avatar kyk1047715
Browse files

i

parent 28512c39
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,10 @@ ...@@ -32,6 +32,10 @@
} }
function listener(event){ function listener(event){
ctx.fillStyle = 'red'; // 채우기 색 지정
ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
ctx.fillRect(0,0,500,500);
switch(event.type){ switch(event.type){
case "mousedown": case "mousedown":
initDraw(event); initDraw(event);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment