blob: 6955c99c129c33f9d927ea8fdf29b0ad550efdf4 (
plain)
1
2
3
4
5
6
7
8
9
|
<!DOCTYPE html>
<canvas id="c" width="200" height="100"></canvas>
<script>
var canvas = document.getElementById('c');
var ctx = canvas.getContext("2d");
ctx.fillStyle = 'green';
ctx.rect(-275, 0, 331, 12);
ctx.fill();
</script>
|