Line caps/joins on closePath:


Miter limit:


lineCap with zero-length lines:

zero-length line segment at corner zero-length Bézier at corner zero-length line segment on left empty subpath zero-length line zero-length Bézier zero-length arc zero-size rect
round
butt
square

Self-intersecting strokes: