1 <canvas id=
"canvas" width=
"100" height=
"100"></canvas>
3 var can
= document
.getElementById('canvas');
4 var ctx
= can
.getContext('2d');
6 ctx
.shadowOffsetX
= 24;
7 ctx
.shadowOffsetY
= 24;
8 ctx
.shadowColor
= 'blue';
14 ctx
.fillStyle
= 'black';
15 ctx
.fillRect(0,0,40,40);