Basic Inner Stroke/Glow

Share your Inkscape tricks and tutorials here.
mystery
Posts: 42
Joined: Fri May 15, 2009 11:58 am

Basic Inner Stroke/Glow

Postby mystery » Sat Dec 12, 2009 3:42 pm

I couldn't find a tutorial for this when I needed it so I'm posting my own. (click the image links)

Suppose you have this simple star.
http://i55.photobucket.com/albums/g144/ ... e/ink0.png

You may add a stroke to the main star to see the effect better.
http://i55.photobucket.com/albums/g144/ ... e/ink1.png

The first step would be to make a duplicate (or clone, but I haven't worked with those very well)
The duplicate should be on top. Change the stroke color to whatever you want. In this case, a lighter color.
http://i55.photobucket.com/albums/g144/ ... e/ink2.png

Now, depending on your clip setting (File > Inkscape Preferences > Clippaths), Alt-Shift click the star to select both stars. Then go to Object > Clip > Set.
http://i55.photobucket.com/albums/g144/ ... e/ink3.png

You should get a result similar to the example. The stroke can be modified in any way using the basic stroke settings after the clipping has been set.
A blur can be applied to simulate an inner glow.
http://i55.photobucket.com/albums/g144/ ... e/ink4.png

Also, out strokes can be applied by duplicating the original star and lowering the selection to have it appear in the back.
http://i55.photobucket.com/albums/g144/ ... e/ink5.png


That is all. Seems simple. Demo file included.
Attachments
star demo.svg
(7.22 KiB) Downloaded 275 times

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: Basic Inner Stroke/Glow

Postby ~suv » Sat Dec 12, 2009 4:02 pm

mystery wrote:Now, depending on your clip setting (File > Inkscape Preferences > Clippaths)
this might help others to follow the steps of your tutorial: uncheck both settings (they are checked by default):
[ ] When applying, use the topmost selected object as clippath/mask
[ ] Remove clippath/mask object after applying


Return to “Tricks & Tutorials”