blob: a5f2f3437b0ca0f8dc3c3405803def9ba8b8ae53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!DOCTYPE html>
<html>
<body>
<canvas id="c" width="5000" height="20000">
</canvas>
<script>
var ctxt = document.getElementById('c').getContext('2d');
ctxt.strokeStyle = "Red";
ctxt.font = "bold 16px Arial";
ctxt.strokeText('Hello World!', 100, 100);
</script>
</body>
</html>
|