lineJoin property

CanvasLineJoin get lineJoin

The CanvasRenderingContext2D.lineJoin property of the Canvas 2D API determines the shape used to join two line segments where they meet.

This property has no effect wherever two connected segments have the same direction, because no joining area will be added in this case. Degenerate segments with a length of zero (i.e., with all endpoints and control points at the exact same position) are also ignored.

Note: Lines can be drawn with the CanvasRenderingContext2D.stroke, CanvasRenderingContext2D.strokeRect, and CanvasRenderingContext2D.strokeText methods.

Implementation

external CanvasLineJoin get lineJoin;
set lineJoin (CanvasLineJoin value)

Implementation

external set lineJoin(CanvasLineJoin value);