magrit icon indicating copy to clipboard operation
magrit copied to clipboard

Improve line/arrow drawing (color, dash, polyline, etc.)

Open fbahoken opened this issue 2 years ago • 6 comments

In the section "Layout and page setup": give the possibility to draw a straight line (solid or dashed) to indicate a separation. Example a line between France and Corse if it has been moved to the continent.

fbahoken avatar Feb 07 '23 15:02 fbahoken

Proposal: add a direction option (e.g. by a checkbox: add an arrow) to the existing option to draw an arrow.

Alternatively, add a new possibility to draw a line on the map layout.

fbahoken avatar Feb 07 '23 15:02 fbahoken

I'm not sure I fully understand. Doesn't the option to hide the arrowhead already address this issue?

Or maybe you want to be able to draw more complex polylines, with several segments ? (like in my example below, which is actually two arrows without heads)

export

mthh avatar Feb 07 '23 16:02 mthh

That's exactly right !

A single line could have been enough, but if we can make a polyline, it's even better.

I'm afraid, I didn't see the option to hide the arrowhead ?! ...

fbahoken avatar Feb 07 '23 16:02 fbahoken

All the layout elements can be configured by right-clicking on them (as well as their order can be reordered, if you have created a line, then a rectangle, but you want to display the line above the rectangle, for example)

This is (very briefly) described in the documentation here.

mthh avatar Feb 07 '23 16:02 mthh

Yes, of course. Thank you very much :)

fbahoken avatar Feb 07 '23 17:02 fbahoken

I have taken the liberty of renaming the issue to better reflect (I hope) what was discussed / what was asked, namely

  • enable drawing polylines
  • enable the line to be dashed/dotted

To which I add :

  • enable changing the color of the line / arrow

mthh avatar Feb 17 '23 14:02 mthh

In the v2, new lines are actually polylines and are customizable (thickness, color, opacity, dashed or not, arrow head or not).

mthh avatar Jul 04 '24 18:07 mthh