hi,
How can a gradient be copied / pasted from one object to another but have the new gradient's location be relative to the new object? For example if a rectangle is created and a gradient assigned to it then a second rectangle is created. Select first rectangle, Ctrl-C is used to copy the first rectangle, select second rectangle, Paste Style is used to paste the gradient. The gradient for the second rectangle is in the exact same place as the first rectangle but this does not result in what is wanted which is to have a second gradient to have the same relative position to the second rectangle as the first gradient has to the first rectangle. Moving one gradient is fine but how can I assign the same gradient by relative position to many rectangles?
I'm using both 0.46 and 0.47 (beta).
Thanks.
When Paste Style the gradient does not move relative
Re: When Paste Style the gradient does not move relative
If I understand what you want to do then this might be what you're looking for.
Create your 2 objects, select both of them and then group them (ctrl + g) and then apply the gradient. They now share a single gradient.
Create your 2 objects, select both of them and then group them (ctrl + g) and then apply the gradient. They now share a single gradient.
Multiple gradients
hi,
Thanks for your suggestion but sorry but I did not explain the situation well. Each rectangle should have the full gradient. What I want would be similar to the button "move gradients along with objects" but with paste style a copy of the new gradient is placed with the object.
Thanks for your suggestion but sorry but I did not explain the situation well. Each rectangle should have the full gradient. What I want would be similar to the button "move gradients along with objects" but with paste style a copy of the new gradient is placed with the object.
Re: When Paste Style the gradient does not move relative
I don't know that you can do what you want. It makes sense though. I know I've been caught myself. Perhaps you could log a feature request for it.
Practically speaking, I don't think Inkscape could apply the gradient in the exact position you would want unless the shape was the exact same size. But it should at least be able to apply it in a area that you can see (i.e. middle of the shape boundry).
Practically speaking, I don't think Inkscape could apply the gradient in the exact position you would want unless the shape was the exact same size. But it should at least be able to apply it in a area that you can see (i.e. middle of the shape boundry).