0

I'm a quite basic user of Inkscape. I have a the following single path:

enter image description here

I want to use a different color for filling the bottom part. In other words, above the intersection the color must be blue and below it must be green. I don't know how to do it as I have just one single path, instead of two.

Can someone help me on this?

7
  • You split the path into 2 paths.
    – joojaa
    Nov 7 '20 at 1:19
  • How to do that without modifying the shape? Nov 7 '20 at 1:30
  • Insert nodes at the intersection.
    – joojaa
    Nov 7 '20 at 1:52
  • and after that? Nov 7 '20 at 1:54
  • Copy object delete other half in one object and other in other.
    – joojaa
    Nov 7 '20 at 2:00
2

Here's one method which uses a boolean operation.

  1. Draw a rectangle around the shape, and do Object > Lower to bottom

  2. Select the rectangle and shape, and do Path > Intersection

  3. Do Path > Break Apart

Now each piece can have its own fill.

Example

enter image description here

1
  • 1
    Thank you! This is indeed an elegant solution Nov 7 '20 at 16:42
1

If your figure is twisted in a single point, you can use the bucket fill tool, to colorozize only one part in a different color.

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.