Consider the following code:

var lineObj = new fabric.Line([120,200,320,200],{
  stroke: '#000000',
  strokeWidth: 1
});
canvas.add(lineObj);

This 1 pixel line is very hard to select owing to its very small width. What I wish to do here is to increase its selection area. Like this:

Line Corners

Is there any way in which I can accomplish this?

Edit
Report