<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Your Canvas</title>

<style type="text/css"><!--
#container { position: relative; }
#imageTemp { position: absolute; top: 1px; left: 1px; }
--></style>

</head>
<body>
<canvas id="imageView" width="600" height="500"></canvas>

<script type="text/javascript">
var canvas, context, canvaso, contexto;
canvaso = document.getElementById('imageView');
context = canvaso.getContext('2d');
context.lineWidth = 5;

context.strokeStyle = '#000000';
context.strokeRect(107, 167, 372, 151);

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(104, 165);
context.lineTo(290, 61);
context.stroke();
context.closePath();

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(288, 61);
context.lineTo(478, 166);
context.stroke();
context.closePath();

context.lineWidth = 4;

context.lineWidth = 3;

context.lineWidth = 2;

context.lineWidth = 4;

context.lineWidth = 5;

context.lineWidth = 6;

context.lineWidth = 7;

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(513, 30);
context.lineTo(514, 59);
context.stroke();
context.closePath();

context.lineWidth = 6;

context.lineWidth = 5;

context.lineWidth = 4;

context.lineWidth = 3;

context.strokeStyle = '#000000';
context.beginPath();
context.moveTo(481, 80);
context.lineTo(545, 151);
context.stroke();
context.closePath();
</script>
</body>
</html>