Jump to content

How to have a transparent stroke ?


Recommended Posts

  • Moderators

Hi @lilyrose,

Welcome to the forums. 

You can either set the stroke to "None" or use the Opacity Slider. 

image.png

EDIT: My bad. I thought the gray line stopped right on the edge of that black stroke. You can follow @Dazzler, or @Pšenda advice. Actually, setting the blend mode to Erase would be a lot easier. Duplicate the circle, set the blend mode to ERASE, and resize it from the center (Hold CTRL + SHIFT while resizing). Make sure your the bigger shape with erase blend mode is below the base shape and above the gray line. 

Thanks,

Gabe. 

Link to comment
Share on other sites

If the above answer is not what you meant (I think you might mean something slightly different, because making the stroke transparent will reveal the shape behind again), then there is another way involving subtracting shapes.

First make sure the shape with the stroke is converted to outlines. Then under the Layer menu, select 'expand stroke'. This will make the stroke into an object of it's own. You can then duplicate this outline object and use the subtract tool to subtract it from any shapes that it overlaps - I say duplicate because you'll also need to subtract it from it's original fill shape to maintain the 'outline' thickness. That will give you a completely transparent space that was the thickness of the original stroke. You'll need to duplicate the outline shape for each shape that you need to subtract it from, as the subtract method removes the shape that is being subtracted. 

 

Link to comment
Share on other sites

Group this object, and Blend mode set to Erase.

Affinity Store: Affinity Suite (ADe, APh, APu) 1.10.5.1342.
Windows 10 Pro, Version 21H1, Build 19043.1586.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to comment
Share on other sites

I just clicked on @lilyrose's image (with the boundary stroke on the right in white (transparent). The image which popped up had this stroke as black! Was that intentional? If so, how does one do it?

John

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

Wow, thank you !

It works and it's really simple with Pšenda method.

 

Dazzle, I tried your method, it was what I tried to do before posting here, but I can't have my blank space, it's only transparent then I see the behind shape. I certainly do something wrong.

 

Link to comment
Share on other sites

32 minutes ago, John Rostron said:

I just clicked on @lilyrose's image (with the boundary stroke on the right in white (transparent). The image which popped up had this stroke as black! Was that intentional? If so, how does one do it?

John

That's the magic of transparent pngs, download the image and all will be explained

R.I.P

Link to comment
Share on other sites

3 minutes ago, carl123 said:

That's the magic of transparent pngs, download the image and all will be explained

Of course! It's obvious really.

John

Windows 10, Affinity Photo 1.10.5 Designer 1.10.5 and Publisher 1.10.5 (mainly Photo), now ex-Adobe CC

CPU: AMD A6-3670. RAM: 16 GB DDR3 @ 666MHz, Graphics: 2047MB NVIDIA GeForce GT 630

Link to comment
Share on other sites

5 hours ago, Dazzler said:

Any idea what happens upon export etc to a vector format?

Vector export is problem, because this is a Serif specific function.

Affinity Store: Affinity Suite (ADe, APh, APu) 1.10.5.1342.
Windows 10 Pro, Version 21H1, Build 19043.1586.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080.
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200.

Link to comment
Share on other sites

20 hours ago, Pšenda said:

Vector export is problem, because this is a Serif specific function.

Yes I tried it out and the effect becomes a raster, so no good for export really unless you are going to raster format, but still a great function to know about for speed/quick proofing etc.
 

 

On 8/28/2018 at 3:12 PM, lilyrose said:

Wow, thank you !

It works and it's really simple with Pšenda method.

 

Dazzle, I tried your method, it was what I tried to do before posting here, but I can't have my blank space, it's only transparent then I see the behind shape. I certainly do something wrong.

 

I'm confused - what do you mean by 'I can't have my blank space'? Maybe you're missing out the 'expand stroke' bit?  That is necessary to convert the stroke to it's own shape. It's that shape that you duplicate and subtract from the shapes surrounding your original object. You do also need to subtract from your orginal shape because a stroke normally sits over part of the fill, so if you remove the stroke the object gets larger by half of the stroke width (or smaller that what originally was with the stroke by half the stroke width!). You don't need to make anything transparent with this method - you are simply cutting shapes away from other shapes. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.