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

in

parent 7c9e7b30
No related branches found
No related tags found
No related merge requests found
...@@ -119,11 +119,11 @@ ...@@ -119,11 +119,11 @@
image.src = "{% static 'ti/drawpic.png' %}"; image.src = "{% static 'ti/drawpic.png' %}";
image.onload = function(){ image.onload = function(){
ctx.drawImage(image,0,0); ctx.drawImage(image,0,0);
}
ctx.fillStyle = 'white'; // 채우기 색 지정 ctx.fillStyle = 'white'; // 채우기 색 지정
ctx.globalAlpha = "1.0"; // 채우기 투명도 설정 ctx.globalAlpha = "1.0"; // 채우기 투명도 설정
ctx.fillRect(0,0,500,500); ctx.fillRect(0,0,500,500);
} }
}
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
function erase(){ function erase(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment