[Solved] Are striped colored lines a thing?

Discuss the drawing application

[Solved] Are striped colored lines a thing?

Postby Tamuren » Wed Feb 06, 2013 11:26 pm

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
Posts: 2
Joined: Wed Feb 06, 2013 11:23 pm

Re: Are striped colored lines a thing?

Postby acknak » Thu Feb 07, 2013 12:01 am

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 (3.06 KiB) Viewed 3911 times
AOO4/LO5 • Linux • Fedora 23
User avatar
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Are striped colored lines a thing?

Postby RoryOF » Thu Feb 07, 2013 12:24 am

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.10 on Xubuntu 20.04.2 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
Posts: 32544
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Are striped colored lines a thing?

Postby keme » Thu Feb 07, 2013 2:15 pm

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.
dual connector.odg
(10.2 KiB) Downloaded 168 times
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice on Mepis Antix MX 14
User avatar
Posts: 3405
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Are striped colored lines a thing?

Postby Tamuren » Thu Feb 07, 2013 5:58 pm

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
Posts: 2
Joined: Wed Feb 06, 2013 11:23 pm

Return to Draw

Who is online

Users browsing this forum: No registered users and 3 guests