Author Topic: colored connector line with black outline  (Read 976 times)

0 Members and 1 Guest are viewing this topic.

CookieEater200

  • Jr. Member
  • **
  • Posts: 15
colored connector line with black outline
« on: December 05, 2022, 03:07:25 PM »
Hello :),

How do I make a yellow connector line with a black outline? (see the attachment)

I asked a similar question before ( black outline with white interior)at http://visguy.com/vgforum/index.php?topic=9893.msg45195

The technique used in the previous post forces the inside of the connector line to be transparent while the outline takes the color selected. That is not what I am attempting to do. Advice please?
Thanks



vojo

  • Hero Member
  • *****
  • Posts: 1710
Re: colored connector line with black outline
« Reply #1 on: December 06, 2022, 08:28:51 AM »
based on June stuff

CookieEater200

  • Jr. Member
  • **
  • Posts: 15
Re: colored connector line with black outline
« Reply #2 on: December 06, 2022, 09:36:26 AM »
I really don't see an obvious way to do it by changing the options on the right side of the screen.

 The fill doesn't seem to do anything on the connector. When I put the compound type to the double lines with yellow color for the line, it makes a yellow contour. I am aiming for a yellow interior with black contour.

The only sub-optimal hack I can do is to attach multiple rectangles together and change the fill to yellow with a black outline .


wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4837
  • Ideas Visio-lized into solutions
« Last Edit: December 06, 2022, 02:41:31 PM by wapperdude »
Visio 2019 Pro

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: colored connector line with black outline
« Reply #4 on: December 06, 2022, 05:16:10 PM »
Another "option": a "glow" effect with 1px width black and line color set to yellow. Not perfect, very inefficient, but easy :)
Unfortunately, there is no direct solution to the problem (it's a pity though and makes wiring diagrams problematic)

Custom line type also works fine, but it has other drawbacks (harder to configure/maintain and does not work in my web export :D)
« Last Edit: December 06, 2022, 05:24:12 PM by Nikolay »

CookieEater200

  • Jr. Member
  • **
  • Posts: 15
Re: colored connector line with black outline
« Reply #5 on: December 07, 2022, 09:29:19 AM »
Thanks to wrapperdude and Nikolay for all the answers!  :D

Yacine

  • Hero Member
  • *****
  • Posts: 3208
Re: colored connector line with black outline
« Reply #6 on: December 09, 2022, 03:12:16 AM »
The nice thing about line patterns is, that parts colored in pure black (RGB(0,0,0)) can be re-colored when used in the drawing.
All other colors are locked and will not change.
There was something with white, but I can't recall what it was.


This in mind, you can now draw in the pattern an elongated rectangle. Set its filling to pure black and its outline to the darkest possible grey so as to mimic a black - e.g. MSOTINT(RGB(0,0,0),5), or RGB(1,0,0).
Now you've got a line pattern, that you cannot only color in yellow, but any color that the RGB range offers.
« Last Edit: December 09, 2022, 07:23:17 AM by Yacine »
Yacine