[Solved] Are striped colored lines a thing?

Discuss the drawing application
Post Reply
Tamuren
Posts: 2
Joined: Wed Feb 06, 2013 11:23 pm

[Solved] Are striped colored lines a thing?

Post by Tamuren »

Hi, I'm making a diagram with different colored lines between objects for easier readability. It helps, but what would really make it easy to read is if there was a way to get two toned striped lines so when two lines overlap you can still read my diagram. That a thing?
Last edited by Hagar Delest on Thu Feb 07, 2013 10:14 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 3 on Windows 7
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Are striped colored lines a thing?

Post by acknak »

Greetings and welcome to the community forum!

If I understand what you want, then no, that's not a directly-supported feature. OOo Draw does offer partially transparent lines, so the two lines would overlap to produce some blended color, but not alternating colors.

Of course, you can always draw it yourself, but the methods I've tried get rather tedious. It wouldn't be worth it for general use, especially if the lines change--you'd have to re-draw the alternating lines from scratch.

One possibility that might be practical is to use a dashed line on top of a solid line: that should give you alternating colors.

Maybe someone else has a better idea?

Oh, it might also help if you could give us an example--or point to one somewhere--so we could see exactly what you want.
alternate_color_lines.png
alternate_color_lines.png (3.06 KiB) Viewed 5312 times
AOO4/LO5 • Linux • Fedora 23
User avatar
RoryOF
Moderator
Posts: 34613
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Are striped colored lines a thing?

Post by RoryOF »

If the lines are only indicative rather than actual detail, you could run the two lines beside each other, much has acknak has shown in his middle example (without the dots). The lines could touch; in Coredraw one could put lines to one side or the other of a construction line. I don't know if this is possible in Draw, but it shouldn't be too difficult to position them so.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
keme
Volunteer
Posts: 3704
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Are striped colored lines a thing?

Post by keme »

You can have two connectors between the same two glue points. Set them to different colours and the topmost to "dashed" line style like Acknak suggested. Play around with transparency to improve clarity in overlap/crossing situations.

The attached file is a simple demo. The continuous line is wider so you see which is which, but you can have both of equal width for a tidier look.

Pitfall with manual routing:
If you manually position the intermediate lines/curves of a connector, they will snap back to auto when you move one of the connected objects. You will have to reposition both connectors manually (if necessary). Connectors can be grouped, but that grouping has a flaw: Manual repositioning becomes a "box resize" which may break the connections to glue points.
Attachments
dual connector.odg
(10.2 KiB) Downloaded 264 times
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
Tamuren
Posts: 2
Joined: Wed Feb 06, 2013 11:23 pm

Re: Are striped colored lines a thing?

Post by Tamuren »

Thanks guys, I got what I was looking for by overlapping two lines, the bottom layer being a dashed pattern
OpenOffice 3 on Windows 7
Post Reply