- Home /
Question by
Berenger · Mar 14, 2014 at 09:52 AM ·
linevectrosityline drawingvectorline
Vectrosity Line, how to draw centered, left or right of the path ?
Hi,
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 ?
align_line.jpg
(16.0 kB)
Comment
Answer by DrDigg0R · May 07, 2014 at 01:20 PM
Hi,
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!