- HTML Canvas 텍스트
- HTML 캔버스 글자 쓰기
1 예시[ | ]
html
Copy
<canvas id='myCanvas' width='400' height='200' style='border:1px solid black;'></canvas>
<script>
var canvas = document.getElementById('');
var ctx = canvas.getContext('2d');
ctx.font = '30px 궁서';
ctx.fillText('안녕 친구들', 20, 50);
</script>
2 같이 보기[ | ]
편집자 Jmnote 118.130.111.179 118.41.84.9 59.26.198.48 115.94.195.195 210.183.4.84 Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.