HTML5 Canvas Line Join Tutorial
To set the line join for a shape with Konva, we can set the lineJoin
property when we instantiate a shape, or we can use the lineJoin()
method.
The lineJoin
property can be set to miter
, bevel
, or round
. Unless otherwise specified, the default line join is miter
.
Instructions: Mouseover the triangle to change the line join style.
- Vanilla
- React
- Vue