Skip to main content
August 15, 2012
Answered

How do I create a transparent stroke above other shapes?

  • August 15, 2012
  • 2 replies
  • 68951 views

Hello

I have the following shape:

What I'm trying to do is give the blue box a transparent stroke that will "cut through" the red boxes and show the background underneath, whatever that may be ...white, another color, or a photo.

I can easily achieve this when I give it a white stroke. It'll look like this:

When I change to a background color other than white or even a photo however, I end up with this problem:

How do I make it so that I have a transparent border (not white) around the blue box? Which effectively cuts a "transparent stroke" (space) between the parts where the blue and red boxes intersect?

Thank you very much for any advice I've been trying to get this done for days without success, so you're my last hope!

This topic has been closed for replies.
Correct answer tromboniator

1. Select the blue rectangle with the white stroke, then do as Silkrooster suggests to set the stroke's opacity to 0. The white stroke will disappear.

2. Select all three rectangles and group them.

3. With the group selected, the Appearance panel should show:

    Group

    Contents

    Opacity

Click on Opacity. In the box that opens, click the box next to Knockout Group until the check/tick mark appears. If the dash appears, click again.

2 replies

tromboniator
Community Expert
tromboniatorCommunity ExpertCorrect answer
Community Expert
August 15, 2012

1. Select the blue rectangle with the white stroke, then do as Silkrooster suggests to set the stroke's opacity to 0. The white stroke will disappear.

2. Select all three rectangles and group them.

3. With the group selected, the Appearance panel should show:

    Group

    Contents

    Opacity

Click on Opacity. In the box that opens, click the box next to Knockout Group until the check/tick mark appears. If the dash appears, click again.

Participant
April 19, 2013

I have been trying to figure this out for so long! thank you Although I have one problem, when i import the file as an eps into my indesign document the whote lines appear again. Help! :/

Larry G. Schneider
Community Expert
Community Expert
April 19, 2013

Don't use EPS. This file format doesn't support transparency. You will have to use AI (with PDF content enabled) or PDF to get the transparency into ID.

Silkrooster
Legend
August 15, 2012

Window>Appearence or shift-F6. Once the appearence panel is open, Twirl down the icon next to the word Stroke, Click Opacity and adjust it to your hearts desire...