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

cf

parent 696c5ed6
Branches br_A
No related tags found
No related merge requests found
......@@ -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(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment