Mobile app version of vmapp.org
Login or Join
Angela777

: Inkscape - How to reverse fill area and transparent area of an object? Im new to inkscape, so please bear with the noob question :) Im trying to create a border which fades to transparent.

@Angela777

Posted in: #Inkscape

Im new to inkscape, so please bear with the noob question :)

Im trying to create a border which fades to transparent. At the moment I have the opposite - the border is white, the background is transparent.



I would like to reverse this, so the middle (currently transparent)is white, and the outside -(currently white) is transparent.

Im sure its super simple but I cant figure it out!

Thanks!

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela777

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin459

First of all, you must create an image, to use as mask, that is suitable for your needs. I would suggest you to create it in Gimp or another raster editing software since they're specifically created for these purposes.

Let's assume you already have your mask image created and exported as PNG with alpha channel like below:



Import your image into inkscape. For example purpose, I have created two version of the same mask, inverting the transparent area to show different results. As you can see, near the two versions of the image, there are two identical shapes filled with a gradient.



All you have to do is:


ensure the image is ordered ABOVE the shape you want to mask (using these )
drag the image mask above the shape (if you want to mask many shapes at once, group them first)
select both image mask and the shape (or group)
use menu OBJECT > MASK to apply the mask




And this is the final result:

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme