0

Basically the way paint bucket can fill a region with color I would like to do that except fill a region with a pattern.

Crossposted here

Not the same as this as I'm only filling a region not an object e.g. replace the orange, yellow, blue etc here  with different patterns

0

1 Answer 1

2

When you use the Paint Bucket tool in Inkscape it doesn't fill a "region". It creates a separate object with a fill. There's no such thing as a "region" in Inkscape. There are only objects, and objects can have fills or strokes.

For example, here I'm filling a triangle using the Paint Bucket, but you can see it's actually a separate object. You can select it and move it.

enter image description here

You can select one of those filled objects and apply a pattern fill in the Fill and Stroke panel.

enter image description here

Generally, it's not really a good idea to use the Paint Bucket to fill things. It's much better to select objects and apply a fill or pattern directly. All you are doing is creating more shapes to fill which is inefficient.

For your graphic, it would be much better to create triangles, apply fills directly to the triangles in the Fill and Stroke panel, and fill the circles white and overlay these over the vertices of the triangles. Also this will avoid those nasty white gaps the Paint Bucket tool can also create if you don't adjust the settings properly (as can be seen in your example image).

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.