Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: floyd0117 on September 11, 2018, 06:47:50 PM

Title: In Inkscape, is there a way to apply an alpha mask or gradient over another colo
Post by: floyd0117 on September 11, 2018, 06:47:50 PM
I have an object that I've applied a linear gradient to:

(https://i.stack.imgur.com/Z2yLJ.png)

that I would like to fade to transparent at the edges:

(https://i.stack.imgur.com/arJbN.png)

But I do not know how to do this, given that inkscape doesn't let you apply two gradients to one object (I would like to apply a radial alpha gradient over the linear color gradient). I've accomplished the look here by just using a white elliptical gradient on a new shape, which surrounds the colored shape, plus a white background. But that's obviously not what I want; I want the shape to have a fully transparent background.

Is there a way to achieve this with some kind of Clip & Mask? Or something else?
Title: Re: In Inkscape, is there a way to apply an alpha mask or gradient over another colo
Post by: Lazur on September 11, 2018, 11:26:56 PM
Hi.
 
Masking is supposed to do that task.
The masking object should have the same radial gradient but have different coloured steps -all should have 255 alpha, the middle should be white, the other step should be black.

masking (http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Clip-Masking.html)