White gap surrounding fill.

Post questions on how to use or achieve an effect in Inkscape.
philip041
Posts: 1
Joined: Thu Apr 02, 2009 10:51 pm

White gap surrounding fill.

Postby philip041 » Thu Apr 02, 2009 10:59 pm

Hi,

I have a shape I have created using bezier lines that I want to fill, however, when I fill there is a small white gap between the fill colour and my lines. I have deselected and selected every option on the FIll and Stroke panel, and also searched for this everywhere, I'm guessing this is a pretty simple question, but I can't sort it!

I have managed to make a border to the fill which if made large enough covers the white, but that also impinges on my surrounding lines and fill.

Cheers,

Phil

Slow Dog
Posts: 180
Joined: Wed Sep 24, 2008 7:51 pm

Re: White gap surrounding fill.

Postby Slow Dog » Fri Apr 03, 2009 1:11 am

What I think you've done is draw a shape using Bezier lines, then used the bucket tool :tool_paintbucket: to fill the area surrounded by those lines, yes? That's a normal approach when using a raster graphic tool (Gimp, Photoshop, or similar).

With Inkscape, you'd be better drawing your shape as a single object - a single bezier line with several nodes, the last line joining to the start point - then setting the drawn object's fill colour.

Or if your really desperate to keep what you've done, follow these steps to get a filled area of exactly the right shape:
Select all the lines with :tool_selector:
Duplicate them (Ctrl+D)
Convert them to paths (Ctrl+Alt+C)
Create a union from the paths (Ctrl+Shift+ + )
Break Apart the new shape (Ctrl+Shift+k)
One of the two shapes created will be the exact fill. Delete the other.
The problem isn't that this is difficult, but that you've got more work if you change you drawing.

SureWhyNot
Posts: 137
Joined: Mon Jun 16, 2008 11:37 pm
Location: United States

Re: White gap surrounding fill.

Postby SureWhyNot » Fri Apr 03, 2009 1:16 am

Edit: Looks like Slow Dog and I were typing a reply at the same time. Not so slow after all.

You must be using the paint bucket :tool_paintbucket: tool.

It's not very exact; it takes an almost raster-like approach to filling a space.

However, if the shape you are trying to fill is closed, you can assign it a fill color in the fill and stroke dialog (or simply click a color in the pallet at the bottom). Don't touch the paint bucket. There's also a shortcut in the lower left corner that displays the fill and stroke of an object and allows you to change it.

I hope that helps.

Slow Dog
Posts: 180
Joined: Wed Sep 24, 2008 7:51 pm

Re: White gap surrounding fill.

Postby Slow Dog » Fri Apr 03, 2009 1:35 am

SureWhyNot wrote:Edit: Looks like Slow Dog and I were typing a reply at the same time. Not so slow after all.

I was typing for ages; stupid paws. I must have started a -long- time before you.

Nooblet

Re: White gap surrounding fill.

Postby Nooblet » Sun May 24, 2009 4:25 am

I know this is late now, but I found this thread searching the same question. I had already drawn my image which wasn't wholly made up of closed shapes, but was a free-hand sketch, so using the simple fill/stroke utility wouldn't work for me. I had used the bucket tool :tool_paintbucket: to fill in my image, but the white gaps were annoying, considering it was going to be submitted for printing on a tshirt.

In the end, I was able to adjust the nodes of the "filled in" space that had the tiny white line/gap around it so that it covered the white line and appeared to be accurately filled in. So, for instance, if there was a red blob shape with a black outline and a white gap in between, I simply "stretched" the red blog to nestle into the space using the nodes. Since each color was on a separate layer, this seemed to work well and I hope will be effective enough.

I'm a noob at all of this, though, so it could be a piss-poor solution! Perhaps it is the bucket tool :tool_paintbucket: which needs tweaking?

Wow, I'm envious of all you graphic artists out there.

harishankar
Posts: 29
Joined: Sat Jan 09, 2010 1:21 pm

Re: White gap surrounding fill.

Postby harishankar » Sat Jan 09, 2010 1:39 pm

I am having the same problem.

The solution appears to be very simple.

Simply draw the outlines in one layer and use the paint bucket tool in another layer. Make sure you set stroke as black or whatever colour you wish or whatever thickness you wish and remove the original non-filled outlines layer.

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

Re: White gap surrounding fill.

Postby llogg » Sun Jan 10, 2010 12:49 am

I don't think you are using the :tool_paintbucket: tool correctly. you should just use the fill and stroke dialog to color an object in most cases.


Return to “Help with using Inkscape”