Re: [svgwg] stroke-linecap and markers (#798)

For your example-application you need a rule for the case, that the length of the path or initial or last subpath is smaller than the width.

This applies as well for a related cap shapes like a reduction of the stroke-width to zero within the length corresponding to the width of the stroke.
This may include schortened round or spike shapes as well, not only an arrow-like shape (affine reduction of the width to the end). 

If you know the length of the path, you can use stroke-dasharray to shorten the visible part of a stroke as you need it.
Similar applies with mask or clip if you need only a part of the stroke perpendicular to the path direction.

-- 
GitHub Notification of comment by Doktorchen
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/798#issuecomment-631485074 using your GitHub account

Received on Wednesday, 20 May 2020 13:48:42 UTC