simonguard

How to draw a pipe in the graphics layer?

Discussion created by simonguard on Feb 21, 2012
This is likely more of a WPF question but here goes...

I am trying to create a custom LineSymbol to draw a pipe. That is, two parallel colored lines with a fixed space between. Using old school I would draw two lines of different widths on top of each other but I don't know how to do that with a line symbol. The problem is that a line symbol can only have a single Poly tag called 'Element'. I'm sure there is a way to do this with styles or brushes but I am fairly new to WPF. If someone could nudge me in the right direction I would be most greatful.

Outcomes