lines in two colours

Ask a Question related to Adobe Illustrator Windows, Design and Development.

  1. #1

    Default lines in two colours

    I need to create lines, eg dashed lines, in two colours. a dashed line with one colour for the dashes and a second colour between the dashes would be ok. I am using Illustrator 8. would a newer version have such a facility as above?
    Peter_Chadbund@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Vertical lines in AI graphics PDF as broken lines?
      I have an InDesign CS1 doc that has an Illustrator CS1 EPS file placed in it. The graphic is a barcode for a coupon. It is only many vertical lines,...
    2. PMS Colours
      Hi there, Hopefully this is a simple question. 1. Can you use PMS colours in Illustrator CS, ie. not just CMYK, RBG? 2. Can you use shades...
    3. Gradient colours - can one be 'none'?
      Is there any way that a gradient can have one colour at one end and no colour at the other? I have a black to white gradient but need artwork to show...
    4. Acrobat 6 changes solid lines to dashed lines
      Is Adobe planning to provide a fix for the problem where solid lines will display as dashed lines when viewed in Acrobat 6? If yes, when? Thank...
    5. read lines of file without parsing the lines
      Hello! Currently i have a logfile which tracks a certain feature on my server. Every time the feature accurs my script appends a line in the...
  3. #2

    Default Re: lines in two colours

    You can do it in AI8 by makign a brush. Look up patterns and brushes in the help file or your manual. The same method can be used in Illustrator 10 and 11. But an even easier method exists is which you would give a path two strokes, like a solid yellow path with a black dashed stroke on top.
    Scott_Falkner@adobeforums.com Guest

  4. #3

    Default Re: lines in two colours



    You can do it in AI8 by makign a brush.




    The problem with that, Scott, is that in IL 8, expanding a dotted/dashed stroke results in a solid filled line. And if you can't expand, you can't give individual elements of the line different colors.

    To be more accurate, the problem in IL 8 is that there is no flatten transparency function as there is in IL 10. The same thing happens in IL 10 if you try to expand a dotted/dashed line, but flatten transparency with the 'convert all strokes to outlines' option selected gets the job done.

    =-= Harron =-=
    Harron_K._Appleman@adobeforums.com Guest

  5. #4

    Default Re: lines in two colours

    As another approch, how about a solid line of one color beneath a dashed line of a different color.
    Philip_Peterson@adobeforums.com Guest

  6. #5

    Default Re: lines in two colours



    The problem with that, Scott, is that in IL 8, expanding a dotted/dashed
    stroke results in a solid filled line. And if you can't expand, you can't
    give individual elements of the line different colors.




    He will need to make a brush consisting of tho willed rectagles, one longer than the other. There is no dash.
    Scott_Falkner@adobeforums.com Guest

  7. #6

    Default Re: lines in two colours

    As I will have a lot of these to do, which will probably involve quite a lot of "adjusting and alignment, I am trying to get away from the "one line on top of another" type of approach. On one of the " graphics" newsgroups it was suggested that I could do what I need in Illustrator and Corel Draw. I guess my version of Corel is far too old, so I wondered if the same was true of Illustrator !
    Peter_Chadbund@adobeforums.com Guest

  8. #7

    Default Re: lines in two colours

    I have explained how to do this in Illustrator. Here is a more complete explanation:

    First, let's assume that the line you want is a black dash with yellow gaps.

    1. create a rectangle that is 1 pt. high and 6 pt. wide.
    2. give this rectangle no stroke and a 100% yellow fill.
    3. draw a rectangle that is 1 pt. high and 4 pt. wide.
    4. give this rectange a 100% black fill, with overprint fill selected in atributes.
    5. align the two rectangles to the top and left.
    6. select both rectangles and group them.
    7. drag the group onto the bruch palette.
    8. create a new art brush.

    Done.

    Now draw any path and select the art brush you created for your stroke. You can increase the width of the stroke using the strokes palette.
    Scott_Falkner@adobeforums.com Guest

  9. #8

    Default Re: lines in two colours

    Yup. I can confirm that works as Scott describes in IL 8.0.1. It's fast, and, of course, once the brush is created, instantly repeatable.

    =-= Harron =-=
    Harron_K._Appleman@adobeforums.com Guest

  10. #9

    Default Re: lines in two colours

    Thanks Scott. sounds simple enough that even I can understand it!!
    Pete
    Peter_Chadbund@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139