[SOLVED] howto change the color between two nodes of a path

Post questions on how to use or achieve an effect in Inkscape.
thht
Posts: 2
Joined: Tue Oct 26, 2010 12:35 am

[SOLVED] howto change the color between two nodes of a path

Postby thht » Tue Oct 26, 2010 12:41 am

hi there,
i really hope, this has not been answered before but i could not find anything related by searching.
i have a path with a lot of nodes. to emphasize a certain portion of that path i want to change the color between two of its nodes. (how) is this possible?

thanks a lot in advance,
thomas
Last edited by thht on Wed Oct 27, 2010 4:51 pm, edited 1 time in total.

Ailurus
Posts: 115
Joined: Fri Oct 22, 2010 9:53 am
Location: The Netherlands
Contact:

Re: howto change the color between two nodes of a path

Postby Ailurus » Tue Oct 26, 2010 9:04 am

Strictly speaking, I don't think it is possible for a path to have multiple colours. However, you can break the path at some selected nodes. This creates overlapping nodes. Next, break apart the path itself (Shift + Ctrl + K) - now you can select the different small paths individually. Now you can assign a colour to one of these smaller paths, and it should look like a part of your "path" has a different colour :)

Note: when joining the nodes again, or combine the paths again, the path will have only one colour once more.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: howto change the color between two nodes of a path

Postby brynn » Tue Oct 26, 2010 10:36 am

A footnote to Ailurus' suggestion:
You might want to Group all the paths, to make it easier to move around, and prevent accidental separation.

Another way might be to color the stroke of the path with a gradient. This will create a smooth transition from one color to the next. But by manipulating the gradient stops, you can make abrupt transitions. (I don't know that instructions exist for the latter, in Inkscape Manual, so I'll be glad to tell you how, if you like :D)

thht
Posts: 2
Joined: Tue Oct 26, 2010 12:35 am

Re: howto change the color between two nodes of a path

Postby thht » Wed Oct 27, 2010 4:51 pm

hey guys,
thanks for the help! i managed to do the trick by splitting the path in two and adding a new one i between having the other color... i dont think this is what you two suggested but i didnt really understand how to do it as i am very new to inkscape (and very impressed as well!!).

thanks again,
thomas


Return to “Help with using Inkscape”