• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Stroke on gradient object

Community Beginner ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

Hello guys,

I can't seem to find help online on how to do this. I have this:


Two objects, one of them has gradient, How do I add stroke around them without the stroke defining the two objects? see below what i mean.

two objects.png

If I merge shape toghether of course the gradient disappears  so I can't do that in order to have this:

stropke.png

How do I achieve this but the stroke going around the whole object not like the one above. I want the stroke to simply be around the object like it's one object not two

like this.png

also if i merge the objects the gradients messes up and I get some weird looking objects with different colors.

How can I eventually achieve this:

pghotosho.png

Thanks a lot

Views

380

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 30, 2017 Jun 30, 2017

If all you want is a black outline I'd:

  1. Group the two elements.
  2. Add a new "Stroke" in the "Appearance" dialog.
  3. Drag the Stroke under the "Content".

This method is "live", allowing you to freely move the elements around, without redoing the stroke.

Screenshot 2017-06-30 15.47.51.png

If you want the stroke to appear to follow the straight element (in front of the circle) you could just delete the right side of your front shape.

Votes

Translate

Translate
Adobe
Community Expert ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

I would make a copy of the two objects with the stroke and no fill. Then merge them and place them directly above the two original objects. It's an illusion but it will give the appearance you're looking for.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

That worked, thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

If all you want is a black outline I'd:

  1. Group the two elements.
  2. Add a new "Stroke" in the "Appearance" dialog.
  3. Drag the Stroke under the "Content".

This method is "live", allowing you to freely move the elements around, without redoing the stroke.

Screenshot 2017-06-30 15.47.51.png

If you want the stroke to appear to follow the straight element (in front of the circle) you could just delete the right side of your front shape.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

yes this is what i was looking for, thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

What happens if you group them and use the Appearance panel to put the stome on the group (not the paths)? In the Appearance panel you can drag the stroke to reorder it and put it at the bottom of the stacking order.

This is your best option.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2017 Jun 30, 2017

Copy link to clipboard

Copied

LATEST

Victor,

It depends on whether you wish to have the stroke acting like a normal centred stroke (Align Stroke to Center) on top of the fill where the centre of the stroke coincides with the outline of the fill as in the suggestion by Bill in the first post, or with the stroke acting like a stroke aligned to the outside and only showing outside the outline of the fill as in the suggestions by Ray and Jane in posts #2&3 (if you have Align Stroke to Center rather to Outside you will need to use a stroke weight that is twice the apparent stroke weight because the inner half is hidden).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines