To set the line join for a shape with KineticJS, we can set the lineJoin property when we instantiate a shape, or we can use the setLineJoin() method. The lineJoin property can be set to miter, bevel, or round. Unless otherwise specified, the default line join is miter.
Instructions: Mouseover the pentagon to change the line join style.
Code Editor
Modified on April 9th, 2013
by Eric Rowell