konva line code example
Example: konva line thickness
var line = new Konva.Line({
x: 100,
y: 50,
points: [73, 70, 340, 23, 450, 60, 500, 20],
stroke: 'red',
tension: 1,
strokeWidth: 3 //Thickness
});
var line = new Konva.Line({
x: 100,
y: 50,
points: [73, 70, 340, 23, 450, 60, 500, 20],
stroke: 'red',
tension: 1,
strokeWidth: 3 //Thickness
});