
[solved] Gradient on a line (with no fill)?
-
- Posts: 138
- Joined: Mon Apr 07, 2008 6:01 am
[solved] Gradient on a line (with no fill)?
I'd like to create a line which changes colour part way along. Is this possible to do on a bezier curve (
) or only on objects that have fill?

Win 7/10, Inkscape 0.92.2
We don't inherit the Earth from our parents; we borrow it from our children.
We don't inherit the Earth from our parents; we borrow it from our children.
Re: Gradient on a line (with no fill)?
You can put a gradient on a stoke - use the "Linear gradient" or "Radial gradient" option on the Stroke paint tab of the Fill and Stroke dialog.
-
- Posts: 138
- Joined: Mon Apr 07, 2008 6:01 am
Re: Gradient on a line (with no fill)?
Thanks a lot! I note that when the gradient tool is selected, there is a button at the top, underneath the 'undo' button, that enables alteration of stroke (cf. fill) gradient.
Win 7/10, Inkscape 0.92.2
We don't inherit the Earth from our parents; we borrow it from our children.
We don't inherit the Earth from our parents; we borrow it from our children.