I created word search game in canvas. Now I want when user select character for determine word draw line for highlight that but this is my results:
Try strokeStyle with rgba and lineCap = 'round'
var canvas = document.getElementById('myCanvas');
var context = canvas.getContext('2d');
context.beginPath();
context.moveTo(200, 200);
context.lineTo(400,400);
context.lineWidth = 20;
context.strokeStyle = 'rgba(0,0,250,0.5)';
context.lineCap = 'round';
context.stroke();
jsfiddle : http://jsfiddle.net/musthaan/0df6Lbfy/