Function CommandBuilder2D.WithLineWidth
WithLineWidth
(float pixels, bool automaticJoins=true)
Scope to draw multiple things with a given line width.
Public
ScopeLineWidth WithLineWidth (
float | pixels | Line width in pixels |
bool | automaticJoins=true | If true then sequences of lines that are adjacent will be automatically joined at their vertices. This typically produces nicer polylines without weird gaps. |
Scope to draw multiple things with a given line width.
Note that the line join algorithm is a quite simple one optimized for speed. It normally looks good on a 2D plane, but if the polylines curve a lot in 3D space then it can look odd from some angles.
In the picture the top row has automaticJoins enabled and in the bottom row it is disabled.