How to create a two-color, dashed line in Inkscape


How can I draw a two-color, dashed line in Inkscape?

The only possibility I see is to draw a colored/transparent line.

6/7/2016 2:58:00 PM

Accepted Answer

Dashed strokes are effectively part stroke and part non-stroke (transparent).

2 possibilities for 2 color stroke:

  1. Duplicate the stroke, and group both together. Set the lower stroke in one color, and the upper stroke to dashed style, and another color.
  2. Use only 1 stroke, and set the stroke fill to gradient or (custom) pattern.
6/7/2016 4:22:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow