blob: 120af0975274bbb5e7c5a14668c52f0840feb16e [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<canvas id='output' width='100' height='100'></canvas>
<script>
var aCanvas = document.getElementById('output');
var ctx = aCanvas.getContext('2d');
ctx.strokeStyle = 'green';
ctx.strokeRect(25, 25, 50, 50);
</script>
</body>
</html>