this is now a feature in v8, you can define a line thickness and add taper or control the cap shape.
see this link