Question

I have a Polyline that is drawn from point A to point B, I'm trying to figure out how to draw two lines of a constant width that appear something like this image.

enter image description here

I only have two points, rather than four, I thought maybe there was a way to create four points, based on the two and then draw the corresponding lines, but I cant seem to get my head around it.

Any suggestions

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top