Vectrosity Line, how to draw centered, left or right of the path ?


Me and my team are using Vectorsity to draw the edges of an object for a 2D architectural view. The problem is, Lines are drawn centered on the path, which means half of the line’s width is on one side, and half on the other, causing accuracy problems.

Is there a way build-in vectrosity to choose how the line is drawn, like in Illustrator ?


Or do we have to modify the line’s points positions ?


I guess what you are searching for is the optional parameter “Join.Weld”.

var myLine = new VectorLine(“MyLine”, linePoints, lineMaterial, 2.0, LineType.Continuous, Joins.Weld);

Hope this helps!