In Inkscape, how do I give an object a gradient that conforms to the boundaries of the object?

Asked by Matt

I have created an irregularly shaped object using the Bezier curve tool. I would like to give it a gradient that runs along the inside of its boundaries, rather than being a straight line or circular (radial) gradient superimposed on it. If I were using Photoshop I would use the inner glow filter, but (unless there's something here I can't find or understand) Inkscape does not give me any options with its inner glow filter.

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
sas (sas-sas) said :
#1

There's nothing like this in Inkscape (mainly because there's nothing like this in SVG).

Revision history for this message
pbhj (pbhj) said :
#2

You can do a faux version. Duplicate the shape and make an inset, colour the inset and probably set some blur on it too. Rinse and repeat. Works well for me, just a little heavy on the work needed, ripe for scripting if anyone has time.

Can you help with this problem?

Provide an answer of your own, or ask Matt for more information if necessary.

To post a message you must log in.