From 149d403fb31da318085fd68b0119226a6365a297 Mon Sep 17 00:00:00 2001 From: Young Guk Kim <kyk1047715@gmail.com> Date: Wed, 25 Apr 2018 06:32:30 +0900 Subject: [PATCH] i --- ti/static/ti/cv.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ti/static/ti/cv.js b/ti/static/ti/cv.js index 04710f1..35b9cac 100644 --- a/ti/static/ti/cv.js +++ b/ti/static/ti/cv.js @@ -32,6 +32,10 @@ } function listener(event){ + + ctx.fillStyle = 'red'; // 채우기 색 지정 + ctx.globalAlpha = "1.0"; // 채우기 투명도 설정 + ctx.fillRect(0,0,500,500); switch(event.type){ case "mousedown": initDraw(event); -- GitLab