From f06af129af7259f2b14cb4db3c0f20ab08fec7be Mon Sep 17 00:00:00 2001
From: Young Guk Kim <kyk1047715@gmail.com>
Date: Wed, 25 Apr 2018 07:11:59 +0900
Subject: [PATCH] cf

---
 ti/static/ti/cv.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ti/static/ti/cv.js b/ti/static/ti/cv.js
index 432419c..f5fbfb6 100644
--- a/ti/static/ti/cv.js
+++ b/ti/static/ti/cv.js
@@ -78,6 +78,13 @@
       pos.X = coors.X;
       pos.Y = coors.Y;
       ctx.stroke();
+      ctx.fillStyle = 'red'; // 채우기 색 지정
+      ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
+      ctx.fillRect(0,0,500,500);
+      ctx.beginPath();
+      ctx.moveTo(50, 50);
+      ctx.lineTo(coors.X, coors.Y);
+      ctx.stroke();
   }
 
   function finishDraw(){
-- 
GitLab