[solved] How to create an outer stroke for the shape?

Post questions on how to use or achieve an effect in Inkscape.
sebekz
Posts: 1
Joined: Fri Jul 25, 2008 8:08 pm

[solved] How to create an outer stroke for the shape?

Postby sebekz » Fri Jul 25, 2008 8:15 pm

Hello,

I have a closed shape (a text converted to curves) and I need to add an oute stroke (outline) to it. Inkscape creates outlines in an inner stroke mode by default and I cannot find the option to make it outer stroke, as it is possible in CorelDRAW.

How do I do it in Inkscape?

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: How to create an outer stroke for the shape?

Postby heathenx » Fri Jul 25, 2008 9:31 pm

There might be a more efficient way to do it but for my stuff I duplicate the object, apply outset a couple of times from the path pull down, give it a different color then send it to the back of my original object. Group them afterward if you like.

llogg
Posts: 443
Joined: Tue Mar 11, 2008 7:30 am

Re: How to create an outer stroke for the shape?

Postby llogg » Fri Jul 25, 2008 9:57 pm

heathenx wrote:There might be a more efficient way to do it but for my stuff I duplicate the object, apply outset a couple of times from the path pull down, give it a different color then send it to the back of my original object. Group them afterward if you like.

I think a dynamic offset would work better than outsetting a duplicate b/c the path will be smoother and more accurately represent the orginal shape outline.

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: How to create an outer stroke for the shape?

Postby heathenx » Fri Jul 25, 2008 10:09 pm

@llogg

I use that method too. Outset on the other hand allows me to "step" out the stroke. It's a tad more exact whereas dynamic offset is like a "free hand" feature.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: How to create an outer stroke for the shape?

Postby microUgly » Fri Jul 25, 2008 11:26 pm

Just for clarity, Inkscape doesn't have an option for an outer stroke because it's not part of the SVG standard (who knows why).

User avatar
heathenx
Posts: 388
Joined: Thu Jun 07, 2007 11:51 pm
Location: USA
Contact:

Re: How to create an outer stroke for the shape?

Postby heathenx » Fri Jul 25, 2008 11:56 pm

Just for clarity, Inkscape doesn't have an option for an outer stroke because it's not part of the SVG standard (who knows why).


Hmm...yes, I wonder why. I wouldn't mind an inner and outer stroke feature actually. I would put that to use.

User avatar
kelan
Posts: 178
Joined: Thu Sep 06, 2007 12:55 am
Location: Unicorn of Open Source
Contact:

Re: How to create an outer stroke for the shape?

Postby kelan » Sat Jul 26, 2008 12:21 am

In regards to llogg's and heathenx's techniques: it really depends on the look you want. For a thick outer stroke, outsetting by large steps will more closely match the original shape of the object, especially a shape with cornerns. Dynamic offsets become more and more rounded the bigger you make them.

The method I usually use is to clone the object, lower the clone underneath, and then stroke the clone. (Remember the original object will need its stroke set to Unset.)This gives you exactly an outer stroke, because the inner stroke is hidden. In addition, you can control the precise thickness of the stroke, and easily change that later if needed.

An inner stroke using duplicates: duplicate object, use duplicate to clip original. With clones: Create two clones and use one to clip the other.
The reason you have to make two clones is because a clone can't clip or be clipped by its original. There seems to be a bug though, because if you move the original object, the clone being used as the clipping path will move, even if you have that "how do clones move" preference marked as "stay unmoved". Which means the clipping path moves, but the clone being clipped doesn't move. Guess I'll go enter a bug report for that.

Craziwolf
Posts: 1
Joined: Sun Aug 26, 2018 7:45 pm

Re: [solved] How to create an outer stroke for the shape?

Postby Craziwolf » Sun Aug 26, 2018 7:47 pm

Just wanted to say this post is still relevant unless there is a new way to do it that I am unaware of? I am new to Inkscape and Outer Stroke still seems to be problem?

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: [solved] How to create an outer stroke for the shape?

Postby tylerdurden » Sun Aug 26, 2018 9:24 pm

Inkscape does now support "Paint-"Order", which can provide the effect of outside stroke to some degree... it can put the fill on top of the stroke.

Info on the SVG spec here: http://tavmjong.free.fr/blog/?p=1090

Inkscape details in the tutorial here: https://fullcirclemagazine.org/issue-118/
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/


Return to “Help with using Inkscape”