Inkscape: Filling with Pattern
How often do you opt for a solid or gradient fill for your Inkscape drawings? Have you ever used the Pattern Fill?
Here’s an example of a star shape filled solid pink next to one filled “Ermine”.

This is as simple as setting any other fill.

You can change the opacity and blur filters on Pattern Fill but not the colour… at least not without cheating a bit!
This method is by no means predictable but can create interesting effects. Select your patterned object and go to Effects>Color and try out some of the colour effects. It seems that not all effects work with all patterns. Polka Dots, Stripes and Checkerboard seem to work best with Randomize and RGB Barrel colour effects.
You can also change the scale and orientation of your pattern. This can be buggy so save your work first.

Use the Node Select Tool to select your patterned fill. You’ll notice to the top left an ‘x’ shape with circular and square handles. To increase the size of the pattern just move the square handle away from the ‘x’ and to rotate move the circular handle around the x.
Since most of the patterns are semi-transparent you can layer them up (right).
You don’t have to use the presets to fill your objects - you can make patterns out of objects!

Create the objects you want to use as your pattern as well as an object you want to fill with pattern. Here I’m using a square for the background with a shape on top. Group your pattern objects (Ctrl +G) and then go to Object>Pattern>Objects to Pattern.
To fill your other object with your new pattern just click on it, select pattern fill and choose your new pattern. It will probably have a name like Pattern3806.
I’m unsure why the edges are visible. I tried using a thick outline for the square shape but it was unsuccessful. If you have any tips for that drop me a comment below.
Finally if you want to fill a shape with a bitmap it’s just as simple. Go to File>Import and select your bitmap image. Now as before, select the bitmap and go to Object>Pattern>Objects to Pattern. You now have a new pattern to fill with.
Any comments/questions/suggestions? Let me know!

The reason for the visible seams in your pattern is anti-aliasing.
You can work around the problem by editing the SVG markup for your pattern using the editor under EDIT > XML editor. It may be intimidating at first but what you’re looking for is a branch that’s named something like “svg:pattern”.
If you select this and then look at the left side of the window, you’ll see a set of attributes and values associated with your pattern. The items of interest here are “width” and “height”. These values equate to the bounding box of your pattern. If you reduce them slightly, you can eliminate the seams.
Comment by Rich — May 29, 2008 @ 8:45 am
That’s a great tip! This problem has been annoying me for some time but I hadn’t got round to finding out how to fix it. Thanks for letting me know about that.
Comment by Jude — June 3, 2008 @ 12:04 pm
Hi
Thanks for all these tutorials - I am SOOO glad I’ve discovered Inkscape. It is WONDERFUL and the community reflects that. Well written tutorials such as this and the Tavmjong Bah manual are outstanding, simple, clear, fast, just like the program in fact! I’m a REAL novice here, but re: the pattern white line - what happens if you set the stroke to none?
Robin
Comment by Robin — June 21, 2008 @ 10:46 am
oops . . didn’t stop to read the comments, too much buzzing in my head!!
Comment by Robin — June 21, 2008 @ 10:48 am