Is there any way make custom line end with the behavior like standard ones.
In the attached file custom line end has a problem - size of line end goes to zero when line weight is 0 pt. Is it possible to fix this?
This post also have some back-story (https://visio-getbb-ru.translate.goog/viewtopic.php?f=5&t=1968&_x_tr_sl=ru&_x_tr_tl=en&_x_tr_hl=ru&_x_tr_pto=wapp)
I will look later more in depth at that line end.
Meanwhile you could use the standard line end #20 which seem to be identical to your custom stuff.
----
I understood the zero-size problem, but what about the scaling is it wanted?
I'm thinking of using 2 different line ends depending on the size of the line.
If (line.weight<1,use(end2), use(end1))
Thanks to Yacine for an idea with "If (line.weight<1,use(end2), use(end1))"
Standard line end 20 is transparent in the middle, this is why I started playing with custom line ends.