This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Adobe Illustrator > May 2005 > creating dashed lines with 2 colors





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author creating dashed lines with 2 colors
motivus

2005-05-23, 7:17 pm

Hi. Is it possible to create a two-color dashed line without
creating/overlaying 2 paths? Is it possible to achieve other effects -
e.g., a dashed line with, say, red diamonds?

motivus

Man of 1001 Faces

2005-05-23, 7:17 pm

in article 1116861158.926361.128930@z14g2000cwz.googlegroups.com, motivus at
motivus@XXXXXXXXXX wrote on 05/23/2005 8:12 AM:

> Hi. Is it possible to create a two-color dashed line without
> creating/overlaying 2 paths?



Yes.


> Is it possible to achieve other effects -
> e.g., a dashed line with, say, red diamonds?



Yes.

motivus

2005-05-23, 7:17 pm

Wow. That Adobe Illustrator is something awesome! Whoo-hoo!

....

Ok. How? I've created two lines - one purple at 12-pt dashing, the
other red at 6-pt dashing - overlaid, offset and grouped them. I'm not
happy with the effort. What's a more elegant solution? And then, what
about the red diamonds?

KatWoman

2005-05-23, 7:17 pm

I think the diamonds thing could be made using symbols or there is a way to
set the brush for using shapes. I am noob at this so not sure this will
help.


"motivus" <motivus@XXXXXXXXXX> wrote in message
news:1116870420.398405.29200@g14g2000cwa.googlegroups.com...
> Wow. That Adobe Illustrator is something awesome! Whoo-hoo!
>
> ...
>
> Ok. How? I've created two lines - one purple at 12-pt dashing, the
> other red at 6-pt dashing - overlaid, offset and grouped them. I'm not
> happy with the effort. What's a more elegant solution? And then, what
> about the red diamonds?
>



Man of 1001 Faces

2005-05-23, 7:17 pm

in article 1116870420.398405.29200@g14g2000cwa.googlegroups.com, motivus at
motivus@XXXXXXXXXX wrote on 05/23/2005 10:47 AM:


> Ok. How?


What is it worth to you to find out?


Orchid

2005-05-24, 7:14 am

motivus <motivus@XXXXXXXXXX> wrote:

> Hi. Is it possible to create a two-color dashed line without
> creating/overlaying 2 paths? Is it possible to achieve other effects -
> e.g., a dashed line with, say, red diamonds?


You can most easily do this by creating a custom (pattern) brush and
applying it to the line.

For instance, make a red diamond using the shape tool, click the new
brush button at the bottom of the brush palette and choose your settings
as you'd like them to apply to the diamond. Apply as your stroke.

You can do the same with multiple colors applied to dashed lines (or any
other object). For instance, draw a short line in black, copy it and
space the copy next to the first line. Apply a different color to the
second line's stroke then create a new pattern brush. Apply that brush
as a stroke.

You may need to play around with the settings a bit to get the desired
spacing but it shouldn't be too hard to work out with a little help from
the online help or manual's section on custom brushes. Good luck.

Orchid
motivus

2005-05-24, 7:18 pm

Ah. OK. Brush palette... Custom brushes... Thank you!

I'm new enough not to realize the "brush" palette would have anything
to do with lines. And it seems that when I used Illustrator Help to
search on 'lines' nothing came up that seemed remotely helpful. I'm
gonna do that search again though...

motivus

motivus

2005-05-24, 7:18 pm

(((yawn)))

Paul Asente

2005-05-26, 7:25 am

In article <1116870420.398405.29200@g14g2000cwa.googlegroups.com>,
"motivus" <motivus@XXXXXXXXXX> wrote:

> Ok. How? I've created two lines - one purple at 12-pt dashing, the
> other red at 6-pt dashing - overlaid, offset and grouped them. I'm not
> happy with the effort. What's a more elegant solution?


Use the appearance palette and add an additional stroke to the path.
Give the two strokes different dash patterns.

-- paul asente
To reply, make the host be the same as my last name
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews