Can I stroke a line with a pattern in illustrator?


Question

I have a diagram with many colour-coded lines and a key to which colour means what: red line = electricity cable; blue line = gas pipe etc.

This is inaccessible for colour-blind people.

I would like to stroke the lines with different patterns of shapes. There are lots of options for this in Illustrator, see this page, but they are limited to dashes with either square or rounded ends. I have a lot of lines and there isn't going to be enough variation.

I'd like to be able to stroke with say, triangles, diamonds, pentagons etc. Excel can do this with lines on graphs. Is there a way to do this in Illustrator? (CS5)

1
4
1/19/2013 10:41:00 PM

Brushes are exactly how to do what you want. In fact, it's really the only way.

Create a custom brush, then simply apply it to your paths.

This may be helpful when creating pattern brushes.

2
1/20/2013 1:40:00 AM

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